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
How can we identify that the Page is Post Back?
Is razor a programming language?
What is the difference between Session and response.Redirect?
What is loop in asp.net?
Tell me how asp.net mvc differs from asp.net web forms? : asp.net mvc
Can we have 2 web config files?
How do cookies work? Give an example of their abuse.
What is app_code folder in asp net?
What is a proxy in web service?
How does asp net store session ids by default?
How can I create master page in asp net?
Why is the standalone environment only useful during the development process?
Where code pages are used?
Fetch one page value to another page without using state-managment ?
What is x xss protection?