Wednesday, March 12, 2014

Asp.NET Managing State.

HTTP ( Hyper Text Transfer Protocol) is a stateless protocol. When the client disconnects from the server, the ASP.Net engine discards the page objects. This way each web application can scale up to serve numerous requests simultaneously without running out of server memory.

If we have to track the users' information between page visits and even on multiple visits of the same page, then we need to use the State management techniques provided by ASP.NET. State management is the process by which ASP.NET let the developers maintain state and page information over multiple request for the same or different pages.

Types of State Management :-


Client side state management
Server side state management

Client side state management techniques


  • View State
  • Control State
  • Hidden fields
  • Cookies
  • Query Strings


Server side state management techniques


  • Application State
  • Session State

No comments:

Post a Comment