What Is State Management?

State management refers to the capability to store information. In the case of web applications, state management has the capability to persist and retrieve information from web page to web page because a web page has no state. (A web page is simply a set of rendering instructions for a browser. After the browser has the page’s data, it is rendered. The browser does not keep the page or any data in it.)

There are three main ways of doing this in ASP.NET:

  • Use Application state management to store data for reuse across the whole application (giving the data application wide scope). This data is also available to any user who is using the web application.

  • Use Session state management to store data. This provides a way to ...

Get Inside ASP.NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.