Thursday, January 19, 2012

ASP.NET State Management Overview


State management is the process by which you maintain state and page information over multiple requests for the same or different pages. As is true for any HTTP-based technology, Web Forms pages are stateless, which means that they do not automatically indicate whether the requests in a sequence are all from the same client or even whether a single browser instance is still actively viewing a page or site. 

Furthermore, pages are destroyed and re-created with each round trip to the server; therefore, page information will not exist beyond the life 

cycle of a single page. 

ASP.NET includes several options that help you preserve data on both a per-page basis and an application-wide basis. 

These features are as follows:
    Storing data on the client that is called "Client – Side State Management ".
            L  View state
            L  Hidden fields
            L  Cookies
            L  Query strings

   Store data in memory on the server that is called "Server– Side State Management ".
           L  Application state
           L  Session state
           L  Profile Properties

View state, control state, hidden fields, cookies, and query strings all involve storing data on the client in various ways. However, application state, session state, and profile properties all store data in memory on the server.


2 comments:

Pavithra M said...

It is really a great work and the way in which u r sharing the knowledge is excellent.
Thanks for helping me to understand basic concepts. As a beginner in Dot Net programming your post help me a lot.Thanks for your informative article. Dot Net Training in chennai | Dot Net Training institute in velachery

Mithun Mithun said...


Given so much information in it. its very useful .perfect explanation about Dot net framework.Thanks for your valuable information. dot net training in chennai velachery | dot net training institute in velachery