NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Session State

HTTP is a stateless protocol – meaning that it provides no way for a server programmer to automatically recognize that a sequence of requests are all from the same client, or to even be able to determine whether a single browser instance is still actively viewing a page or site. As a result, building web applications that need to maintain some cross-request state information (shopping carts, data scrolling, etc) can be extremely challenging without additional infrastructure help.

ASP+ ships with built-in Session State functionality that provides developers with an easy, robust and scalable way to: 1) automatically identify and classify requests coming from a single browser client into a logical application “session” on the server; 2) store session-scoped data on the server for use across multiple browser requests; 3) raise appropriate session lifetime management events (OnSessionStart, OnSessionEnd, and so on) that can be handled in application code, 4) automatically release session data/information if the browser does not re-visit an application after a specified timeout period.

ASP+ provides the following support for sessions:

See Also

ASP+ State Management