Ask a Question related to ASP, Design and Development.
-
michaaal #1
Is it bad to have a large GLOBAL.ASA file?
It seems to me that I generally use two types of Functions:
Type #1-Ones that any page on my site might use
Type #2-Ones that only a single page would ever use
Logically, it seems that I should put the Type #1 functions in the
GLOBAL.ASA file and the Type #2 functions in the pages that use them. I
would like to, however, just go ahead and include ALL of my functions in the
GLOBAL.ASA file.
Comments on this? Is this a good idea?
michaaal Guest
-
global.asa file
I want to use a query to active directory that holds a user name, group role and group region and stores those values as session variables in the... -
DB Connection :: Global.use vs .Inc file?
I am adapting a login script to suite my specific purposes by require guideance on best practice with regards the following: Should I be... -
Illustrator CS files with large linked files results in large file size
If I place a large linked Photoshop 7 file (.psd or.eps), say 36 MB, in Illustrator CS and save without embedding the file it takes ages to save and... -
Question about Global.asa file
Terry Murray wrote on 09 aug 2003 in microsoft.public.inetserver.asp.db: No -- Evertjan. The Netherlands. (Please change the x'es to dots in... -
PHP Warning: InterBase: Error while trying to open file File too large
Hello, I have this configuration: kernel 2.3.20, apache 1.3.27, with php 4.2.3 as apxs module with firebirdCS-1.0.3-64IO I have problems with... -
Ken Schaefer #2
Re: Is it bad to have a large GLOBAL.ASA file?
Why don't you put your functions into include files?
Cheers
Ken
"michaaal" <res0gyio@verizon.net> wrote in message
news:%23dIExSqRDHA.1576@TK2MSFTNGP12.phx.gbl...
: It seems to me that I generally use two types of Functions:
:
: Type #1-Ones that any page on my site might use
: Type #2-Ones that only a single page would ever use
:
: Logically, it seems that I should put the Type #1 functions in the
: GLOBAL.ASA file and the Type #2 functions in the pages that use them. I
: would like to, however, just go ahead and include ALL of my functions in
the
: GLOBAL.ASA file.
:
: Comments on this? Is this a good idea?
:
:
Ken Schaefer Guest
-
Atrax #3
Re: Is it bad to have a large GLOBAL.ASA file?
> I
in the> would like to, however, just go ahead and include ALL of my functionsbut you're saying you want them to be available throughout the app? this> GLOBAL.ASA file.
is the wrong approach to take there - global.asa runs just once per
session, and code inside it isn't available to your ASP scripts
have you thought about using Windows Script Components to store and use
commonly-used functions?
________________________________________
Atrax. MVP, IIS
[url]http://rtfm.atrax.co.uk/[/url]
newsflash : Atrax.Richedit 1.0 now released.
[url]http://rtfm.atrax.co.uk/infinitemonkeys/components/Atrax.RichEdit/[/url]
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Atrax Guest



Reply With Quote

