Difference between Session State and Application State

Forums .NETDifference between Session State and Application State
Staff asked 5 months ago

Answers (1)

Add Answer
monika gabani Marked As Accepted
Staff answered 5 months ago
Session State Application State
Session state can   be stored in memory on the server as well as client’s cookies. Application   state is stored only in the memory on the server.
Session state   is user and browser specific. Application   state is application specific.
If client has   disabled cookies in his browser then session state will be stored in URL. Application state   does not track client’s cookies or URL.
Session state   has scope to the current browser only. If we change the browser session id is   changed. Application   state has no scope to the current browser. If we change the browser   application id remains same.

Subscribe

Select Categories