RE: Out of stack space and ASP

by Paul Tyng <paul.tyng(at)dealerkid.com>

 Date:  Wed, 29 Sep 1999 10:04:50 -0400
 To:  "'John.ksi(at)webplus.net'" <John.ksi(at)webplus.net>,
"'Viktor Leijon'" <Viktor.Leijon(at)sdf.se>,
"'hwg-servers(at)hwg.org'" <hwg-servers(at)hwg.org>
  todo: View Thread, Original
In asp, global variables will slow down response time, so I was trying to
avoid them.

>From MSDN
(http://msdn.microsoft.com/isapi/msdnlib.idc?theURL=/library/sdkdoc/iisref/p
erf9ini.htm):
	Use local variables, avoid public variables. Local variables can be
accessed quicker by the ASP scripting engine than public variables, since
the entire namespace doesn't have to be searched to access the value of a
local variable. 
	

-----Original Message-----
From: John.ksi(at)webplus.net [mailto:John.ksi(at)webplus.net]
Sent: Wednesday, September 29, 1999 8:50 AM
To: hwg-servers(at)hwg.org
Subject: Re: Out of stack space and ASP


> Just for the record. Let me express my dislike for global variables.
> Altough they are useful and simple at times, one should avoid them
> in most programming.

I'm not sure I agree or disagree.  Could you elaborate on why
you say this?

-John

HWG: hwg-servers mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.