ASP.NET State Management
ASP.NET State Management If the page is posted to the server then all the information associated with page and the controls on the page would be lost with each round trip, because new instance of the web page class is created each time when page is posted to the server. For example, , if a user enters information into a text box, the information would be lost after the page is posted to the server.To overcome this inherent limitation of traditional Web programming, ASP.NET includes several options that help you preserve data on both a per-page basis and an application-wide basis. These features are as follows: (A) Client-Based State Management: 1. View state 2. Control state 3. Hidden fields 4. Cookies 5. Query strings All above involve storing data on the client in various ways. (B) Server-Based State Management: 1. Application state 2. Session state 3. Profile Properties application state, session state, and profile properties all store data in memory on the server. Each option has...