O'Reilly logo

Visual Basic® .NET by Example by Bob Donald, Gabriel Oancea

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required