Chapter Summary
In this chapter, you learned about how to deal with the disconnected nature of Web application by using the state management techniques provided by ASP.NET. In addition to the traditional client-side state management techniques such as query strings, cookies, and hidden variables, ASP.NET provides a new technique called as ViewState. When used carefully, ViewState can give great benefits. However careless use of ViewState can significantly increase the download size of the rendered HTML file.
You also learned about various server side state management techniques. In particular, ASP.NET provides great improvements over the session state of ASP. Session state in ASP.NET is highly configurable. With small configuration changes, you can support Web farms and cookie-less sessions.
I also discussed the various ASP.NET intrinsic objects that can be accessed using the properties of the Page class such as the Request, Response, Session, Application, and Server objects. You experimented with several properties and methods of these objects in this chapter.
I also discussed the Response.Redirect(), Server.Transfer(), and Server.Execute() methods for implementing navigation from one page to another.
Key Terms
Postback
Round trip
Session
ASP.NET Application