Thursday, June 16, 2011
State and Life Cycle
ASP.NET manages four types of state:
Used to provide features such as paging and sorting of GridView controls. Control
state cannot be modified, accessed directly, or disabled.
The state of all the controls on the page. View state only lasts for that one page
display, and is updated every time the page is redrawn. It can be disabled for
specific controls, the page, or the entire web site.
Data specifically saved across page posts, for use by all the pages in a web
Data available to all the users of a web application, even across multiple