Difference between Session state and Application state
------------------------------------------------------
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.
No comments:
Post a Comment