AnonymousIdentificationSection.CookieTimeout Property
.NET Framework (current version)
Gets or sets the amount of time, in minutes, after which the authentication expires.
Assembly: System.Web (in System.Web.dll)
[ConfigurationPropertyAttribute("cookieTimeout", DefaultValue = "69.10:40:00")] [TimeSpanValidatorAttribute(MinValueString = "00:00:00", MaxValueString = "10675199.02:48:05.4775807")] [TypeConverterAttribute(typeof(TimeSpanMinutesOrInfiniteConverter))] public TimeSpan CookieTimeout { get; set; }
Property Value
Type: System.TimeSpanThe amount of time, in minutes, after which the authentication expires. The default value is 100000.
This property can be set to an arbitrarily large value, but internally the CookieTimeout value is limited to a maximum value of two years.
.NET Framework
Available since 2.0
Available since 2.0
Show: