I haven’t used the application variables in my asp.net web applications. I’m using asp.net2.0. Is there any disadvantages of using applicationvariables.
I haven’t used the application variables in my asp.net web applications. I’m using asp.net2.0.
Share
What do you mean by application variables? Like:
If so, these kinds of variables are not saved between web requests. When the page unloads, and you have to use session or cache or viewstate to store it like:
or
And reload it from here when the page loads again. If you mean something else, please comment and I’ll update my response.
EDIT: For application, check these out:
Application state is application-wide storage, and so to limit to a user, you need to append the user ID to the key, or use session.