Deli z drugimi prek


CookieAuthenticationOptions.SlidingExpiration Property

 

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.

Namespace:   Microsoft.Owin.Security.Cookies
Assembly:  Microsoft.Owin.Security.Cookies (in Microsoft.Owin.Security.Cookies.dll)

Syntax

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

Property Value

Type: System.Boolean

Returns Boolean.

See Also

CookieAuthenticationOptions Class
Microsoft.Owin.Security.Cookies Namespace

Return to top