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


Please Help Members By Posting Answers For Below Questions

What is asp.net mvc? : asp.net mvc

548


What is authorization in asp.net?

573


Why Unload event of MasterPage Calls first in ASP.net ?

585


How to create discussion forum in asp.net mvc? : Asp.Net MVC

531


What are the different kinds of assemblies?

520






What is the use of session state and application state and difference between them?

479


Explain the difference between server control and html control.

474


What are the asp.net server side objects?

519


Can we use html in asp.net?

498


If 200 is for all successful operation then why do we have 201 response codes?

524


Tell me the code snippet to show how we can return 404 errors from HttpError?

782


What is _dopostback in asp net?

525


Explain diff between dataset and datareader?

526


What is query string? What are its advantages and limitations?

512


How do u deploy ur project?

2218