CookieExpiration Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |