Thursday, January 15, 2009

StateManagement in Asp.Net

State Management in ASP.NET (Part-1)
------------------------------------------------

State management is a process through which you can maintain the page information over multiple requests for the same page or different page.
Earlier, in ASP, if you submit a form with values and come back to it later you will get the form without values. Sometimes you may submit a form with huge information in these situations if the server comes back with an error you need to fill the entire page or form once again. It’s tedious task. All this is because of lack of state management.
But, In Asp.Net There are many ways to keep track of page information or state.
Means if you submit a form with values and come back to it later the values will still be there. You need not to fill the page once again.

There are 2 types of state management techniques
1.Client side state management
2.Server side state management

1.Client side state management
In this type page information is stored on the client side. There are different ways to maintain state on client side
View state
Hidden fields
cookies
query strings
control state
2. server side state management
In this type page information is stored on the server side. Here also you have many techniques to maintain state.
Application state
Session state
Profile properties
Database

5 comments:

  1. Thank you for your guide to with upgrade information
    .NET Online Course

    ReplyDelete