|
-
Jun 24th, 2005, 02:55 PM
#1
Thread Starter
PowerPoster
sessionState?
Hi again..
trying to figure out in ASP.NET...
IF i have a class (cs) and in that I create an arraylist and store objects/values, in the future I wish to retain those values in memory and have it be accessible anytime by any of the pages my ASP.NET website has.
however in order to access this class you have to create an instance of it but when you do that it create a NEW instance, there fore the object I wish to access will not be there
I was wondering, is there a way to "globally" create and access 1 arraylist from any page?
-
Jun 25th, 2005, 01:49 AM
#2
Re: sessionState?
If you mean you'd like a set of values to be available throughout the life of the application, I'd suggest you use a database to store those values.
-
Jun 25th, 2005, 05:13 AM
#3
Thread Starter
PowerPoster
Re: sessionState?
I know that... but i do not wish for that to happen as its a bit expensive to do that, therefore i wish for it to be held in some session in memory...as the information is only very very small
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|