Hey.. this question deals with asp.net
If I want to store a variable only for the duration of a single postback that will be accessable from my entire application, where can I store it?
Also, what is the scope of shared variables. Do they persist across multiple sessions?if you want something to be application wide you are just going to have to use an application wide variable, that will of course require a global.asax however it is going to last longer than one post back if done this way.
If I want to store a variable only for the duration of a single postback that will be accessable from my entire application, where can I store it?
Also, what is the scope of shared variables. Do they persist across multiple sessions?if you want something to be application wide you are just going to have to use an application wide variable, that will of course require a global.asax however it is going to last longer than one post back if done this way.