SessionStateSection.Timeout Property
.NET Framework 2.0
Gets or sets the session time-out
Namespace: System.Web.Configuration
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
[TypeConverterAttribute(typeof(TimeSpanMinutesOrInfiniteConverter))] public: property TimeSpan Timeout { TimeSpan get (); void set (TimeSpan value); }
/** @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 session time-out, in minutes. The default value is 20 minutes.The following code example demonstrates how to get the Timeout property. Refer to the code example in the SessionStateSection class topic to learn how to access the SessionStateSection object.
Community Additions
ADD
Show: