What is state Management in asp.net?

WHAT IS STATE MANAGEMENT?
Whenever a page is posted to the server, a new instance of the Web Page’s class is created. This means that all the page/control related information will be lost after the post back. To overcome this obstacle, ASP.net provides several options to help preserve this data.

TYPES OF STATE MANAGEMENT
There are 2 types of State Management approach in ASP.net :
1. Client – Side State Management

1. View State
2. Control State
3. Hidden Fields
4. Cookies
5. Query String


2. Server – Side State Management

1. Application State
2. Session State
3. Profile Properties

0 comments:

Post a Comment