CookieAuthenticationOptions.SlidingExpiration Property

Definition

The SlidingExpiration is set to true to instruct the handler 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.

C#
public bool SlidingExpiration { get; set; }

Property Value

Applies to

Produkt Verzie
ASP.NET Core 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0