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
What is authorization in asp.net?
What do you understand by aggregate dependency?
What’s difference between “optimistic” and “pessimistic” locking?
Is asp.net free?
Where sessions are stored?
Is it true that a Web service must be written in .NET or not?
How do u optimize a query in asp.net?
How to you can limit Access to Web API to Specific HTTP Verb?
How do I open an ashx file in windows 7?
Define web.config in .net?
What are the benefits of view state?
What do you mean by authorization?
What is _viewstart?
What is caching? Explain.
What is validation in asp.net?