Click or drag to resize

Session Class

The Dynamicweb.Context.Web.Session class wraps a HttpContext session object and acts as a proxy for Session functionality in a Http context
Inheritance Hierarchy
SystemObject
  Dynamicweb.Environment.WebSession

Namespace:  Dynamicweb.Environment.Web
Assembly:  Dynamicweb.Environment.Web (in Dynamicweb.Environment.Web.dll) Version: 3.2.1
Syntax
public class Session : ISession

The Session type exposes the following members.

Constructors
  NameDescription
Public methodSession
Initializes a new instance of the Session class
Top
Properties
  NameDescription
Public propertyItem
Gets or sets a session value by using the specified key
Public propertyKeys
Public propertySessionID
Gets the unique identifier for the session
Top
Methods
  NameDescription
Public methodAbandon
Abandons this session.
Public methodAdd
Adds the specified value to the session using the speficied name
Public methodGetSnapshot
Takes a snapshop of all values and keys currently in the session object, and returns a SnapShop object
Public methodRemove
Removes the item from session with the specified key
Public methodRemoveAll
Removes all keys and values from the Session object
Top
See Also