B
Brian Bischof
Hi All,
I saved a variable to the Application() collection and I can access this
from the aspx.vb code. However, I want to be able to access this variable
from a simple class. I've seen where I can have the class inherit from one
of the web classes, but I don't want to do that just for a simple class that
needs one variable. Currently, I'm making a public property in the class and
setting it during the Application_Start() event. But I don't think this is
the best approach. Is it possible to use the Application() collection from a
simple class?
Thanks,
Brian
I saved a variable to the Application() collection and I can access this
from the aspx.vb code. However, I want to be able to access this variable
from a simple class. I've seen where I can have the class inherit from one
of the web classes, but I don't want to do that just for a simple class that
needs one variable. Currently, I'm making a public property in the class and
setting it during the Application_Start() event. But I don't think this is
the best approach. Is it possible to use the Application() collection from a
simple class?
Thanks,
Brian