Application is a data repository available to all classes in an ASP. Application state was stored in memory on the server and was faster than storing and retrieving information in a database. Unlike session state, which was specific to a single user session, application state applies to all users and sessions. Therefore, application-a useful place-to-store small amounts of often-used data, does not the change from one use R to another.
ASP. NET session state enables your to store and retrieve values for a user as the user navigates ASP. NET pages in a Web app Lication. HTTP is a stateless protocol. This means, a WEB server treats each HTTP request for a page as an independent request. The server retains no knowledge of variable values that were used during previous requests. ASP. Identifies requests from the same browser during a limited time window as a session, and provide s A-persist variable values for the duration of this session. By default, the ASP. NET session is the enabled for all ASP. Applications.
Alternatives to session state include the following:
Application state, which stores variables, can is accessed by all users of an ASP.
Profile properties, which persists user values in a data store without expiring them.
ASP. Caching, which stores values in memory the is available to all ASP.
View state, which persists values in a page.
Cookies.
The query string and fields on a HTML form that is available from an HTTP request.
Check the below link for more information:
Http://msdn.microsoft.com/en-us/library/75x4ha6s.aspx
Regards,
Jai
Monday, October, 5:58 AM
What's diff. b/w App State & Session state