S
Sergei Shelukhin
Suppose I want to supply a singleton class object that will sit between my
intranet asp.net app and MS SQL database, doing al the chemistry with
connections etc inside of it.
The problem is that I don't really know how to keep the object persistent
for all the requests nade within the app.
I need the object to live for certain periods of time, and I need it to be
easily accessible from aspx.cs files' code.
I guess I will be creating it in global.asax on application start; where do
I store it then? How do I address it?
intranet asp.net app and MS SQL database, doing al the chemistry with
connections etc inside of it.
The problem is that I don't really know how to keep the object persistent
for all the requests nade within the app.
I need the object to live for certain periods of time, and I need it to be
easily accessible from aspx.cs files' code.
I guess I will be creating it in global.asax on application start; where do
I store it then? How do I address it?