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.


  • 3 Users Found This Useful

Was this answer helpful?

Related Articles

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 Add Website in IIS?

This article will assist you to add new website in IIS. If you have opted for the WebsitePanel,...

How to backup/restore IIS7 configuration file?

Backup: Login to your server by using administrative rights. Open command prompt using...

How to Block an IP address From Visiting My Websites Through IIS?

You can restrict the access of any particular website for any specific IP address. You can add an...

FIX :: .inc include files not loading in ASP .NET website

Sometimes, your website doesn't load .inc files like footer.inc of your ASP .net website.The .inc...