Setting
the session timeout
You can specify the time
in minutes after which an ASP.NET session expires.
The default is 15
minutes, and the valid range is the range that IIS supports.
To set the session timeout
-
In Web.Config
, find the <sessionState> setting.
-
In the <sessionState> setting, find the following
attribute:
timeout="number_of_minutes"
-
Replace the current
session timeout value with the value you require.
-
Save and close
Web.Config
.