Share via


CookieAuthenticationOptions.SlidingExpiration Property

Definition

The SlidingExpiration is set to true to instruct the middleware to re-issue a new cookie with a new expiration time any time it processes a request which is more than halfway through the expiration window.

public:
 property bool SlidingExpiration { bool get(); void set(bool value); };
public bool SlidingExpiration { get; set; }
member this.SlidingExpiration : bool with get, set
Public Property SlidingExpiration As Boolean

Property Value

Applies to