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
Explain the page lifecycle of an asp.net mvc? : asp.net mvc
How can I open ashx file in mobile?
Describe the master page.
What are the new data controls in asp.net 2.0?
Write code to send e-mail from an asp.net application?
Explain diff. Betn dataset and recordset?
Explain the difference between sql invalidation and sql notification.
Explain in what order a destructors is called.
What are server objects?
Explain how viewstate is being formed?
How do I know asp.net mvc version? : Asp.Net MVC
What are the media types of http requests and response?
How many types of session state management options available in asp.net?
What is meant by web application?
What is the mvc model?