Re: ASP Application Object
From: Ray Costanzo [MVP] (my)
Date: 11/23/04
- Next message: Kevin Spencer: "Re: ASP vs ASP.NET"
- Previous message: Debbie Davis: "Re: Collect Remote System Information"
- In reply to: MEM: "ASP Application Object"
- Next in thread: MEM: "Re: ASP Application Object"
- Reply: MEM: "Re: ASP Application Object"
- Messages sorted by: [ date ] [ thread ]
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.
- Next message: Kevin Spencer: "Re: ASP vs ASP.NET"
- Previous message: Debbie Davis: "Re: Collect Remote System Information"
- In reply to: MEM: "ASP Application Object"
- Next in thread: MEM: "Re: ASP Application Object"
- Reply: MEM: "Re: ASP Application Object"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|