HttpSessionStateContainer.Timeout 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.
Gets or sets the amount of time, in minutes, allowed between requests before the session-state provider terminates the session.
public:
property int Timeout { int get(); void set(int value); };
public int Timeout { get; set; }
member this.Timeout : int with get, set
Public Property Timeout As Integer
Property Value
The time-out period, in minutes.
Implements
Exceptions
An attempt was made to set the Timeout value to an integer value less than 1.
-or-
An attempt was made to set the Timeout value to an integer value greater than the maximum allowed when Mode is set to InProc or StateServer. The maximum allowed is 525,600 (one year).
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for