Saturday 1 August 2015

State Management


  • A new instance of the Web page class is created every time that the page is requested from the server. And web pages by default are stateless.
  • This means that all information in the page and in its controls would be lost with each round trip.
  • For example, by default if a user enters information into a text box on an HTML Web page, that information is sent to the server. However, it is not returned to the browser in the response.


There are multiple ways to maintain state :

1.       Client Side
a.       View State
b.      Control State
c.       Cookies
d.      Query String

2.       Server Side
a.       Session Object
b.      Application Object
c.       Caching
d.      Profile Properties


No comments:

Post a Comment