SessionHelper Class |
Namespace: CMS.Helpers
public static class SessionHelper
The SessionHelper type exposes the following members.
Name | Description | |
---|---|---|
AllowSessionState |
If true, the session state storage is allowed to be used.
| |
SessionIsAvailable |
Returns true if the session is available
| |
SessionTimeout |
Gets or sets the session timeout value (this value doesn't change the timeout period).
|
Name | Description | |
---|---|---|
Abandon |
Cancels the current session.
| |
Clear |
Clears the session content starting with given string
| |
GetSessionID |
Returns the session ID.
| |
GetValue |
Returns the given session value.
| |
InitSessionTimeout |
Initializes the session timeout variable
| |
Remove |
Removes the given session item.
| |
SetValue(String, Boolean, Boolean) |
Sets the session value.
| |
SetValue(String, DateTime, Boolean) |
Sets the session value.
| |
SetValue(String, Decimal, Boolean) |
Sets the session value.
| |
SetValue(String, Guid, Boolean) |
Sets the session value.
| |
SetValue(String, Int32, Boolean) |
Sets the session value.
| |
SetValue(String, Object, Boolean) |
Sets the session value.
| |
SetValue(String, String, Boolean) |
Sets the session value.
|