May 2004
Intermediate to advanced
888 pages
22h 31m
English
State management is related to caching—whereas caching keeps global state for multiple clients, session state keeps state for a single client. Web applications are stateless; therefore, they don’t inherently track user information between requests. Each request is viewed as a distinct request entirely unrelated to previous requests.
ASP.NET provides several levels at which state can be managed. These are cookies, ViewState, Session, and Application.
The following sections cover each of these different state management mechanisms.
Cookies are basically text that the Web server can place in the client’s browser. They are transferred via HTTP headers. As the user hits various pages ...
Read now
Unlock full access