CookieAuthenticationOptions.ExpireTimeSpan Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Controls how much time the authentication ticket stored in the cookie will remain valid from the point it is created. The expiration information is stored 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.
This property should be used instead of Expiration, which is ignored.
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