Differences between session state and Application state?
Answer Posted / vino
Session state and Application state both are support the
same type of objects and maintain information on the server.
Session state:
- The session object is used to maintain the session of each
user. A user gets a session id when he enters in to an
application. This Id will delete when he leave from that
application. If he enters again he will get a different
session Id.
- Session allows information to be stored in one page and
access in another page and support any type of object.
Application state:
- But the application object, the Id is maintained for whole
application.
- Application state allows storing global objects that can
be accessed by any client.
Is This Answer Correct ? | 17 Yes | 2 No |
Post New Answer View All Answers
Explain file-based dependency and key-based dependency.
What is the difference between trace and debug in asp.net?
Define asp.net caching?
How does viewstate work?
What are the different session state management options available in asp.net?
What is true about application service provider?
Explain asp.net web forms.
Why do we need asp.net?
How about the security in Activex DLL and Activex EXE ?
What is the difference between session and viewstate?
What is webresource axd?
What is the compiled object?
What do you mean by caching in asp.net?
Define the term Web Garden?
Explain the basic functionality of garbage collector?