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
'Declaration
Public Property SlidingExpiration As Boolean
Get
Set
'Usage
Dim instance As CookieAuthenticationOptions
Dim value As Boolean
value = instance.SlidingExpiration
instance.SlidingExpiration = value
public bool SlidingExpiration { get; set; }
public:
property bool SlidingExpiration {
bool get ();
void set (bool value);
}
member SlidingExpiration : bool with get, set
function get SlidingExpiration () : boolean
function set SlidingExpiration (value : boolean)
Property Value
Type: System.Boolean