Techno
Jun 24th, 2005, 02:55 PM
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?
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?