This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Syntax
C# | Copy Code |
---|---|
public class Sessions |
Visual Basic (Declaration) | Copy Code |
---|---|
Public Class Sessions |
The type exposes the following members.
Public Methods
Name | Description | |
---|---|---|
Add |
Increases the number of active sessions.
|
|
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetSessionId |
Gets the id of the session of the given request.
|
|
GetSessionMode |
Gets the SessionMode for the item.
|
|
GetType | (Inherited from Object.) | |
IsExcluded |
Returns true if sessions are disable for this content type.
|
|
Remove |
Decreases the number of active sessions.
|
|
SetSessionMode |
Sets the SessionMode for the item.
|
|
ToString | (Inherited from Object.) |
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) |
Public Fields
Name | Description | |
---|---|---|
StateKeySessionMode |
Key used for the session mode in the request state.
|
|
StateKeySessionModeWasNotSet |
Key used for storing internal information in the request state.
|
|
StateKeySilentSessionAccess |
Key used for the session access mode in the request state.
|
Public Properties
Name | Description | |
---|---|---|
SessionCookieName |
Gets the ASP.NET session cookie name used in this site.
|
|
SessionCount |
Gets the session count.
|
See Also
Smartsite.Core Namespace