CookieAuthenticationOptions.ExpireTimeSpan Property

Controls how much time the cookie will remain valid from the point it is created. The expiration information is in the protected cookie ticket. Because of that an expired cookie will be ignored even if it is passed to the server after the browser should have purged it.

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

Syntax

'Declaration
Public Property ExpireTimeSpan As TimeSpan 
    Get 
    Set
'Usage
Dim instance As CookieAuthenticationOptions 
Dim value As TimeSpan 

value = instance.ExpireTimeSpan

instance.ExpireTimeSpan = value
public TimeSpan ExpireTimeSpan { get; set; }
public:
property TimeSpan ExpireTimeSpan {
    TimeSpan get ();
    void set (TimeSpan value);
}
member ExpireTimeSpan : TimeSpan with get, set
function get ExpireTimeSpan () : TimeSpan 
function set ExpireTimeSpan (value : TimeSpan)

Property Value

Type: System.TimeSpan
Returns TimeSpan.

See Also

Reference

CookieAuthenticationOptions Class

Microsoft.Owin.Security.Cookies Namespace