WEB HOSTING Session or Script timeout values
Session or Script timeout values Article ID:229

The following configuration parameters are implemented on Windows based Shared Hosting services and Dedicated Managed hosting services. Changes to these limits  follow these rules, except where noted:

  • These values are not changeable on Shared Hosting plans. 
  • Most of these values can be changed on Dedicated Managed server hosting, as the potential for impact is limited to just the dedicated hosting customer. As such, the dedicated server customer accepts and bears any risk associated with changes to these parameters.  To request changes, simply submit a support request with your requirements.

Parameter/configuration list:

  • AspMaxRequestEntityAllowed="4048000" (4MB)
  • SessionTimeout = 20 (minutes)
    • SessionTimeout can be changed in your ASP script using the built-in Session object, sample: Session.Timeout = 40
    • Please note that when using SESSION.TIMEOUT that this value is in SECONDS... so session.timeout=40 is a 40 seconds... if you need 40 minutes, you'd need to set session.timeout=2400   which is 40 min multiplied by 60 seconds per minute.
    • www.w3schools.com has a great sample showing how to check session timeout, change it, and check the new value, and the following link: http://www.w3schools.com/asp/showasp.asp?filename=demo_gettimeout
  • Server.ScriptTimeout = 90 (seconds)
    • Server.ScriptTimeout can be changed in your ASP script using the built-in Server object, sample: Server.ScriptTimeout = 180

 

Downloads associated with this article:
  No downloads associated with this article
Back to Search or Browse