State management - DotNet and DataBase

Follow us on Facebook

SQL Server Mountain View Mountain View Mountain View

Wednesday, 8 August 2018

State management

In general, any (typical) web application is stateless. It means that when an event occurs (any event like button click, page load) the web page communicates with the web server using HTTP or HTTPS protocol and gets the response. After getting the response web page destroys and recreates. 

Along with the page, all controls in the page recreates. Between this process, the data exists in the controls will get lost. So, to retain the values of the controls we use state management techniques in ASP.Net.

We have different techniques in ASP.Net to handle state management.

State Management is two Types
  1. Client-side Management
  2. Server-side Management
Client-side Management
  1. View state
  2. Hidden fields
  3. Cookies
  4. Control State
  5. Query Strings
Server-side Management
  1. Session State
  2. Application State

No comments:

Post a comment


Get Updates On

Discussion updates

Straight Into Your INBOX!

Enter your email address to subscribe to this website and receive notifications of new posts by email.