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 meant by server side scripting?
Is there any property names “isnavigating”?
What are the advantages of asp.net mvc framework? : asp.net mvc
Why does my asp.net file have multiple tag with runat=server?
What is ispostback property?
Am not able to move the controls on the form freely in asp.net 3.5 even though I selected the position as relative or absolute for those controls. What should I do to overcome this?
What is asp.net web application?
What is css in asp.net?
How to display Alert in ASP.NET
Where would you use an ihttpmodule, and what are the limitations of any?
Can you explain the importance of finalize method in .net?
What is caching? What are different ways of caching in asp.net?
Define data caching?
Explain the use of resource manager class in .net.
Which is the best institute to learn Microsoft Technologies and the faculty if you Know?