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 | |
---|---|---|
![]() |
Session() | Initializes a new instance of the Session class. |
Properties
Name | Description | |
---|---|---|
![]() |
Created | Gets or sets the date and time when the session was created. |
![]() |
Expires | Gets or sets the date and time when the session expires. |
![]() |
Flags | Gets or sets the session flags. |
![]() |
LockCookie | Gets or sets the session lock cookies. |
![]() |
LockDate | Gets or sets the session lock date. |
![]() |
Locked | Gets or sets whether the session has been locked. |
![]() |
SessionId | Gets or sets the session identifier. |
![]() |
SessionItem | Gets or sets the item associated with the session. |
![]() |
Timeout | Gets or sets the session timeout. |
Methods
Name | Description | |
---|---|---|
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
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