Re: ASP Application Object

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Ray Costanzo [MVP] (my)
Date: 11/23/04


Date: Tue, 23 Nov 2004 15:53:46 -0500

Yes, they are probably being overwritten. Is there any reason you're not
creating the variables in Application_OnStart in a global.asa file?

Ray at work

"MEM" <mmaxsom@citlink.net> wrote in message
news:9403d191.0411231233.48b78f46@posting.google.com...
> Hello,
>
> I'm using application variables for a web based sales tracking
> application. I use the variables for stuff like connection string,
> database name, etc. I store the values in a asp file that is included
> in a login page. The assignments are in a routine/procedure that I
> then call on the login page. This is done everytime a user connects to
> the login page.
>
> So, what's happening to the variables? Are they being overwritten
> everytime a user accesses the page? I'm not checking for the existence
> of the variables. I just call the routine everytime the page is
> accessed. I know the values are shared for all users but, I was
> wondering if I should check for the existence of the variables? Will
> it free up resources? Should I be using locks?
>
> Thanks.



Relevant Pages

  • ASP Application Object
    ... then call on the login page. ... This is done everytime a user connects to ... I'm not checking for the existence ... I just call the routine everytime the page is ...
    (microsoft.public.inetserver.asp.general)
  • Re: ASP Application Object
    ... global.asa runs at the start of the session and the start of an application, ... The assignments are in a routine/procedure that I>>> then call on the login page. ... This is done everytime a user connects to>>> the login page. ... I know the values are shared for all users but, I was>>> wondering if I should check for the existence of the variables? ...
    (microsoft.public.inetserver.asp.general)
  • Re: ASP Application Object
    ... What's the benefits of using the global.asa file versus an asp ... >> then call on the login page. ... This is done everytime a user connects to ... I'm not checking for the existence ...
    (microsoft.public.inetserver.asp.general)
  • Re: ASP Application Object
    ... Sessions survive the ... > then call on the login page. ... This is done everytime a user connects to ... I'm not checking for the existence ...
    (microsoft.public.inetserver.asp.general)
  • How to disable fortunes freebsd-tips after login?
    ... If you use the C shell, add the following line to the .cshrc file in ... Of course it is a different message everytime. ... how can I disable fortune after login? ...
    (comp.unix.bsd.freebsd.misc)