Condividi tramite


CookieExpiration Class

Definition

The configuration settings of the session cookie's expiration.

public class CookieExpiration
type CookieExpiration = class
Public Class CookieExpiration
Inheritance
CookieExpiration

Constructors

CookieExpiration()

Initializes a new instance of the CookieExpiration class.

CookieExpiration(Nullable<CookieExpirationConvention>, String)

Initializes a new instance of the CookieExpiration class.

Properties

Convention

Gets or sets the convention used when determining the session cookie's expiration. Possible values include: 'FixedTime', 'IdentityProviderDerived'

TimeToExpiration

Gets or sets the time after the request is made when the session cookie should expire.

Applies to