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
Which namespace is used by ado.net?
What is clr? Difference between clr & cts?
What is jade template engine?
How can we update records in gridview?Is there any appropriate code for it?
What is http only cookie?
Is asp.net and .net the same?
Is data edited in the Repeater control?
What is difference between View State and Hidden Field in ASP.NET?
What is loop in asp.net?
Explain server side state management system.
Define managed code and managed data in .net?
What are the disadvantages of asp.net?
Explain the overview of asp.net?
How to disable validator control by client side JavaScript?
What are themes and skins in 2.0, explain usage scenario?