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 imageCopy Code
                                  public class Sessions
Visual Basic (Declaration) Copy imageCopy Code
                                  Public Class Sessions

The type exposes the following members.

Public Methods

  Name Description
Public method Add
Increases the number of active sessions.
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetSessionId
Gets the id of the session of the given request.
Public method GetSessionMode
Gets the SessionMode for the item.
Public method GetType (Inherited from Object.)
Public method IsExcluded
Returns true if sessions are disable for this content type.
Public method Remove
Decreases the number of active sessions.
Public method SetSessionMode
Sets the SessionMode for the item.
Public method ToString (Inherited from Object.)

Protected Methods

  Name Description
Protected method Finalize (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)

Public Fields

  Name Description
Public field Static member StateKeySessionMode
Key used for the session mode in the request state.
Public field Static member StateKeySessionModeWasNotSet
Key used for storing internal information in the request state.
Public field Static member StateKeySilentSessionAccess
Key used for the session access mode in the request state.

Public Properties

  Name Description
Public property SessionCookieName
Gets the ASP.NET session cookie name used in this site.
Public property SessionCount
Gets the session count.

See Also

Advanced