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 import SSL certificate in Windows server?

To import SSL Certificate in Windows Server, firstly, you need to export the SSL certificate....

How to access your website via remote IIS?

First of all, you need to contact our support team in order to enable remote IIS login for your...

How to set website redirection from IIS 7?

This article will guide you to redirect the URL using HTTP Redirect functionality in IIS. Open...

How to change application pool from IIS?

While you add a website from IIS Manager, you’ll get an option to select the application pool. In...