Click or drag to resize
SessionHelper Class
Session management.
Inheritance Hierarchy
SystemObject
  CMS.HelpersSessionHelper

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public static class SessionHelper

The SessionHelper type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberAllowSessionState
If true, the session state storage is allowed to be used.
Public propertyStatic memberSessionIsAvailable
Returns true if the session is available
Public propertyStatic memberSessionTimeout
Gets or sets the session timeout value (this value doesn't change the timeout period).
Top
Methods
  NameDescription
Public methodStatic memberAbandon
Cancels the current session.
Public methodStatic memberClear
Clears the session content starting with given string
Public methodStatic memberGetSessionID
Returns the session ID.
Public methodStatic memberGetValue
Returns the given session value.
Public methodStatic memberInitSessionTimeout
Initializes the session timeout variable
Public methodStatic memberRemove
Sets the session value.
Public methodStatic memberSetValue
Sets the session value.
Top
See Also