Chapter 5. ASP.NET State Management

IN THIS CHAPTER

A Connectionless Environment

Understanding Application Variables

Understanding Session Variables

Using ASP.NET Caching

ASP.NET Viewstate and Control State

A Connectionless Environment

I’ve heard many people describe the communication between a web server and a web browser as akin to a telephone call. A web browser “calls” the web server and a line of communication is opened between the two so that information can be exchanged. In fact, a web application is nothing at all like a telephone conversation. Unlike a telephone call, there is no connection in a web application between the web server and the web browser. The illusion of a connection is created by the network itself.

Tip

In a web application, ...

Get The Microsoft Expression Web Developer's Guide to ASP.NET 3.5: Learn to create ASP.NET applications using Visual Web Developer 2008 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.