State Management
You have learned so far that Web pages are loaded during each HTTP GET and POST. The data associated with the page and its controls will be lost every time the page is posted back. For instance, if the end user enters some data into a text box, that data is lost in the round trip from the browser to the server. In a normal HTML page in order to preserve this data, you have to reload manually the control with the value entered by the user. However, the .NET framework (namely the ASP.NET part) can automatically save the state of the page and its controls. Optionally, it can also save application or session-specific information. The process of managing this data is known as state management.
The .NET framework provides a number ...
Get Visual Basic® .NET by Example 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.