Click or drag to resize
ISession Interface
Defines implementation providing access to session-state values and session-level settings.

Namespace: CMS.Base.Internal
Assembly: CMS.Base (in CMS.Base.dll) Version: 13.0.131
Syntax
C#
public interface ISession

The ISession type exposes the following members.

Properties
  NameDescription
Public propertyIsReadOnly
Indicates whether the session is read-only or not.
Public propertyItem
Gets or sets a session value by using the specified name.
Public propertyKeys
Gets a collection of the keys for all values that are stored in the session-state collection.
Public propertySessionID
Gets the unique identifier for the session.
Public propertyTimeout
Gets or sets the time, in minutes, that can elapse between requests before the session-state provider ends the session.
Top
Methods
  NameDescription
Public methodAbandon
Cancels the current session.
Public methodClear
Removes all keys and values from the session-state collection.
Public methodRemove
Deletes an item from the session-state collection.
Top
See Also