Skip to Main Content
ASP.NET Kick Start
book

ASP.NET Kick Start

by Stephen Walther
December 2002
Beginner content levelBeginner
624 pages
12h 9m
English
Sams
Content preview from ASP.NET Kick Start

Chapter 17. Maintaining Application State

Variables within a Web Form Page do not retain their values between requests. Requesting a Web Form Page is similar to starting and stopping an application. After the page is finished being processed, you must start all over again with a blank slate.

If you need to maintain the value of a variable across multiple page requests, you need to do something special. In this chapter, you learn about three methods of maintaining the state of variables. You will learn

  • How to use View State to retain the state of variables for a particular page

  • How to use Session State to retain the state of variables for a particular user

  • How to use Application ...

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

ASP.NET 4 Unleashed

ASP.NET 4 Unleashed

Stephen Walther, Kevin Hoffman, Nate Dudek
Inside ASP.NET

Inside ASP.NET

Scott Worley
Pro ASP.Net 4 in C# 2010

Pro ASP.Net 4 in C# 2010

Matthew MacDonald, Adam Freeman, Mario Szpuszta

Publisher Resources

ISBN: 0672324768Purchase book