How to increase the Session Timeout – IIS
Increasing the session idle timeout time for Web Access – IIS Manager
In Web Desk or Self-Service, if a user remains inactive for a certain duration, their session will expire. Once expired, any attempt to use the application will redirect them to the login page. Two settings determine this timeout period:
Firstly, the session between the web browser and IIS, is managed by IIS itself.
Secondly, the User Session record is stored in the Service Desk database, handled by the Background Processing Service, which clears it upon expiration.
By default, both the User Session records in the Service Desk database and the web session in IIS are set to expire after 20 minutes of inactivity.
Increasing the session idle timeout value
If you want to extend this timeout duration, you can follow these steps to allow your users to remain idle for a longer period.
The steps for extending the session idle timeout duration vary based on the server’s operating system and the version of IIS being used.
Modifying the IIS session timeout:
For Windows Server 2016 and later, and IIS 10:
- Open Internet Information Services
(IIS) Manager
- In the Connections pane, expand the server node and click on
Website Name
- Double-click on
Session State
from within theASP.NET
group of icons within the Features View panel.
- Adjust the
Time-out (in minutes)
setting within theCookie Settings
section to your preference (default is 20). - Then, click on
Apply
located in the actions panel on the right side of the page.
- Back to
IIS Manager Features View panel
section again. - Then, select
ASP
in the site properties.
- Adjust the
Time-out (in minutes)
setting within theSession Properties
section to your preference (default is 20). - Then, click on
Apply
in the actions panel on the right side of the page.