AnonymousIdentificationSection.CookieSlidingExpiration Property
.NET Framework (current version)
Gets or sets whether the cookie time-out value is reset on each request.
Assembly: System.Web (in System.Web.dll)
[ConfigurationPropertyAttribute("cookieSlidingExpiration", DefaultValue = true)] public bool CookieSlidingExpiration { get; set; }
Property Value
Type: System.Booleantrue if the sliding expiration is enabled; otherwise, false. The default is false.
When CookieSlidingExpiration is set to true, for each request issued during a single session the time interval during which the cookie is valid is reset to the amount of time specified in the CookieTimeout property. When CookieSlidingExpiration is set to false, the cookie expires at a set point in time.
.NET Framework
Available since 2.0
Available since 2.0
Show: