Visual C#. NET 2003 Unleashed

IN BRIEF

This chapter explains and demonstrates the different techniques that are available to maintain state within an ASP.NET application. The first section talks about the different ways to maintain state by using client-side techniques. The final section explores the different methods of maintaining state by using server-side techniques.

WHAT YOU NEED

RECOMMENDED SOFTWARE

.NET Framework

C# .NET environment

RECOMMENDED HARDWARE

.NET-enabled desktop client with IIS

SKILLS REQUIRED

C# coding

STATE MANAGEMENT AT A GLANCE

Client-Side State Management

456

  
 

Understanding View State

456

Understanding Query Strings

471

 

Using Hidden Form Fields

463

Passing Server Control Values Between Forms

474

 

Explaining Cookies

467

Server-Side State Management

479

  
 

Explaining Application State

480

Understanding Session State

481

Summary

482

  

Further Reading

483

  

    Категории