Dela via


CookieAuthenticationOptions.ExpireTimeSpan Property

Definition

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

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

Property Value

Applies to