What is difference between session and application state?

Application State is data that is particular to the application. It is stored in the server, so can be easily accessed and helps in fast retrieval. Session State is used to maintain data specific to a user.It is stored in the server or database. This is a single user- global variable.Click to see full answer….

Application State is data that is particular to the application. It is stored in the server, so can be easily accessed and helps in fast retrieval. Session State is used to maintain data specific to a user.It is stored in the server or database. This is a single user- global variable.Click to see full answer. In this manner, what is a session and application object?PDF Print E-mail Thursday, 21 July 2011 18:28 Session object is used to store state specific information per client basis. It is specific to particular user. Application object is used to store data which available across the entire application and shared across multiple users sessions.Beside above, which is better session or ViewState? 1 Answer. For large amounts of data, Session is way more efficient. ViewState: The binary data structure of the ViewState is Base64 encoded to be placed into the page, which means it is 1.3333 times (8/6) the size of the original binary data. This data is uploaded and downloaded for each page view. Consequently, what is application state? An application state is simply the state at which an application resides with regards to where in a program is being executed and the memory that is stored for the application. The web is “stateless,” meaning everytime you reload a page, no information remains from the previous version of the page.What is Session state?Session state, in the context of . NET, is a method keep track of the a user session during a series of HTTP requests. Session state allows a developer to store data about a user as he/she navigates through ASP.NET web pages in a . NET web application. Session state however is a Microsoft-centric concept.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.