FormsAuthenticationConfiguration.Timeout Property
.NET Framework 2.0
Gets or sets the authentication time-out.
Namespace: System.Web.Configuration
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
[TypeConverterAttribute(typeof(TimeSpanMinutesConverter))] public TimeSpan Timeout { get; set; }
/** @property */ public TimeSpan get_Timeout () /** @property */ public void set_Timeout (TimeSpan value)
public function get Timeout () : TimeSpan public function set Timeout (value : TimeSpan)
Not applicable.
Property Value
The amount of time in minutes after which the authentication expires. The default value is 30 minutes.The following code example shows how to access the Timeout property. Refer to the code example in the FormsAuthenticationConfiguration class topic to learn how to get the section.