Differences between session state and Application state?
Answer Posted / sanjay vishwakarma
Application state will be available to all users of the
application when set
Basically user A sets application variable "AppID" to "myApp"
User B retrieves application variable "AppID" and reads "myApp"
Session state will only be available to a specific user of
the ASP.net application
User A sets session variable "UserID" to "2"
User B loads the session variable "UserID" and receives null
User A loads the session variable "UserID" and receives "2"
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Are cookies client side or server side?
How can you send an email message from an asp.net web page?
What is an asp.net validator? And, mention its types.
What is bound controls
What is active web pages?
What is the maximum amount of memory any single process on windows can address?
What are sharepoint pages?
Explain in what order a destructors is called.
What is the mvc model?
Can we have multiple web config files for an asp.net application?
What is the use of HttpHandlers? When to use this?
What is custom attribute?
Just by seeing the signature of the bean how can you specify whether it is a stateful or stateless session bean?
Is asp.net 64-bit enabled? How?
What is slidemaster?