SessionHelper MembersKentico 8.0 API Reference
The SessionHelper type exposes the following members.
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(String, Object)
Sets the session value.
Public methodStatic memberSetValue(String, Object, Boolean)
Sets the session value.
Back to Top
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).
Back to Top
See Also