How to change ASP session timeout from IIS 7?

Sessions are used to maintain a stateful HTTP connection. When session state is enabled for your application, a user receives a unique session ID on their first request to a Web page. Generally, this session expires if the user does not refresh or request a page within the specified time-out period. As per your site's requirement you can increase or decrease this time-out value.

  1. Login to your VPS via RDP.

  2. Click on Start -> Administrative Tools -> IIS.

  3. Click on website name and open ASP feature from IIS group.

    Select ASP Option from IIS

  4. Expand Session Properties under Services and as per requirement modify Time-Out value [Default Value is 00:20:00 (HH:MM:SS)].

    Set Session Time-out Limit

  5. From the Actions Pane, click on Apply link to save the changes.

Note: It is not recommended to set large session timeout value for the Windows Hosting server.


  • 2 Users Found This Useful

Was this answer helpful?

Related Articles

How to Backup/Restore IIS7 Configuration?

IIS 7 automatically makes history snapshots of ApplicationHost.config each time a change is...

How to deny URL sequence from IIS?

Request Filtering is a built-in security feature of IIS. Using Request Filtering feature one can...

How to set MIME types for web fonts in IIS?

Font Squirrel's @Font-face generator is one of the best free online tools to generate required...

Fix :: ASP Session Times Out Before Session Timeout Value in IIS

Problem Statement Session times out before session timeout valueIn many case wherein,...

How to Fix HTTP Error 500 (or 500.21) - Internal Server Error Handler SSINC-shtml?

Error Message HTTP Error 500 (or 500.21) - Internal Server Error Handler SSINC-shtm' handler...