Share via


Session Class

 

Represents the user session.

Namespace:   System.Web.Providers.Entities
Assembly:  System.Web.Providers (in System.Web.Providers.dll)

Inheritance Hierarchy

System.Object
  System.Web.Providers.Entities.Session

Syntax

public class Session
public ref class Session 
type Session = class end
Public Class Session

Constructors

Name Description
System_CAPS_pubmethod Session()

Initializes a new instance of the Session class.

Properties

Name Description
System_CAPS_pubproperty Created

Gets or sets the date and time when the session was created.

System_CAPS_pubproperty Expires

Gets or sets the date and time when the session expires.

System_CAPS_pubproperty Flags

Gets or sets the session flags.

System_CAPS_pubproperty LockCookie

Gets or sets the session lock cookies.

System_CAPS_pubproperty LockDate

Gets or sets the session lock date.

System_CAPS_pubproperty Locked

Gets or sets whether the session has been locked.

System_CAPS_pubproperty SessionId

Gets or sets the session identifier.

System_CAPS_pubproperty SessionItem

Gets or sets the item associated with the session.

System_CAPS_pubproperty Timeout

Gets or sets the session timeout.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.Providers.Entities Namespace
ASP.NET Identity

Return to top