![]() |
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# |
![]() |
---|---|
public abstract class CmsClient |
Visual Basic (Declaration) |
![]() |
---|---|
Public MustInherit Class CmsClient |
The type exposes the following members.
Protected Constructors
Public Methods
Name | Description | |
---|---|---|
![]() |
ClearSession |
Clears the session data.
|
![]() |
ContainsState | Overloaded. |
![]() |
Equals | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetState | Overloaded. |
![]() |
GetType | (Inherited from Object.) |
![]() |
IsExpired |
Determines whether the current session is expired.
|
![]() |
IsNewSession |
Determines whether the session is initiated from the current request.
|
![]() |
RemoveState | Overloaded. |
![]() |
SetState | Overloaded. |
![]() |
ToString | Overloaded. |
Protected Methods
Name | Description | |
---|---|---|
![]() |
Finalize | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
ValidateState |
Validates whether the state request is valid in the current request.
|
Public Fields
Name | Description | |
---|---|---|
![]() ![]() |
ClientScriptEnabledCookieName |
Client scripting enabled cookie. Set by javascript in Scf lib.
|
Public Properties
Name | Description | |
---|---|---|
![]() |
Address |
Gets the address of the client.
|
![]() |
FriendlyUserAgentString |
Gets the friendly user agent string.
|
![]() |
IsLocal |
Returns true if this client is from the localhost.
|
![]() |
IsReferrerCms |
Returns true if the referrer is the Cms.
|
![]() |
MajorVersion |
Gets the major version.
|
![]() |
MinorVersion |
Gets the minor version.
|
![]() |
RawUserAgentString |
Gets the raw user agent string.
|
![]() |
Referrer |
Referrer of the current request
|
![]() ![]() |
SessionCookieExpirationTime |
Gets the session cookie expiration time.
|
![]() ![]() |
SessionCookieName |
Gets the session cookie name.
|
![]() |
SessionId |
Gets the session id.
|
![]() |
SupportsSessions |
Returns true if sessions are supported.
|
![]() |
Type |
Gets the user agent type.
|
![]() |
VisitorId |
Gets the visitor id.
|
Public Events
Name | Description | |
---|---|---|
![]() |
ClearClientState |
Occurs when the client wants to remove state.
|
![]() |
RequestClientState |
Occurs when the client requests state data such as cookies and session.
|
![]() |
WriteClientState |
Occurs when the client wants to write state data such as session and cookies.
|
See Also
Smartsite.Core Namespace