October 2010
Intermediate to advanced
1920 pages
73h 55m
English
Session ObjectThe main application programming interface for working with Session state is the HttpSessionState class. This object is exposed by the Page.Session, Context.Session, UserControl.Session, WebService.Session, and Application.Session properties. This means that you can access Session state from just about anywhere.
This HttpSessionState class supports the following properties (this is not a complete list):
• CookieMode—
Enables you to specify whether cookieless sessions are enabled. Possible values are AutoDetect, UseCookies, UseDeviceProfile, and UseUri.
• Count—
Enables you to retrieve the number of items in Session state.
• IsCookieless—
Enables you to determine whether cookieless sessions are enabled.
• IsNewSession ...