Skip to Main Content
Professional ASP.NET 2.0 Special Edition
book

Professional ASP.NET 2.0 Special Edition

by Bill Evjen, Scott Hanselman, Devin Rader, Farhan Muhammad, S. Srinivasa Sivakumar
October 2006
Intermediate to advanced content levelIntermediate to advanced
1588 pages
37h 59m
English
Wrox
Content preview from Professional ASP.NET 2.0 Special Edition

Chapter 21. State Management

Why is state management such a difficult problem that it requires an entire chapter in a book on programming? In the old days (about 10 years ago), using standard client-server architecture meant using a fat client and a fat server. Perhaps your Visual Basic 6 application could talk to a database. The state was held either on the client-side or in the server-side database. Typically, you could count on a client having a little bit of memory and a hard drive of its own to manage state. The most important aspect of traditional client/server design, however, was that the client was always connected to the server. It's easy to forget, but HTTP is a stateless protocol. For the most part, a connection is built up and torn down each time a call is made to a remote server. Yes, HTTP 1.1 includes a keep-alive technique that provides optimizations at the TCP level. Even with these optimizations, the server has no way to determine that subsequent connections came from the same client.

Although the Web has the richness of DHTML, JavaScript, and HTML 4.0 on the client side, the average high-powered Pentium 4 with a gigabyte of RAM is still being used only to render HTML. It's quite ironic that such powerful computers on the client side are still so vastly underutilized when it comes to storing state. Additionally, although many individuals have broadband, it is not universally used. Developers must still respect and pay attention to the dial-up users of the world. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Pro C# 2008 and the .NET 3.5 Platform, Fourth Edition

Pro C# 2008 and the .NET 3.5 Platform, Fourth Edition

Andrew Troelsen
ASP.NET 3.5 Unleashed

ASP.NET 3.5 Unleashed

Stephen Walther
Beginning Visual C#® 2005

Beginning Visual C#® 2005

Karli Watson, Christian Nagel, Jacob Hammer Pedersen, Jon D. Reid, Morgan Skinner, Eric White

Publisher Resources

ISBN: 9780470041789Purchase book