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
To add a hyperlink column to the DataGrid which tag is used ?
What are the different kinds of assemblies?
What is asp.net futures?
Can we set master page as a start page?
How to register exception filter globally?
How does session id work?
Define cookie.
Explain the difference between authentication and authorization.
Mention the namespace that is used to include .net data provider for sql server in .net code?
How asp.net mvc differs from asp.net web forms? : asp.net mvc
How to automatically get the latest version of all the asp.net solution items from source safe when opening the solution?
How does u call and execute a sp in .net?
How you can return View from ASP.NET Web API method?
What is loop in asp.net?
Differentiate between authentication and authorization.