Sun
ONE Active Server Pages Product Home Page Developer Site Version
 

ContentsPreviousNextIndex



Changing the Script Timeout Value


You can specify the number of seconds the ASP Server waits for an ASP page to finish processing before canceling the page request. Setting a script timeout prevents a malfunctioning ASP page from indefinitely engaging server resources. Enabling the ASP Server to cancel a page request frees up resources for another session. The script timeout value is 90 seconds by default.

If the deadlock timeout is set to a value lower than the script timeout, the ASP engine will restart once the time specified for the deadlock timeout has elapsed. For more information about the deadlock timeout and deadlock recovery, see Configuring Engine Deadlock Recovery.

To change the script timeout value

  1. Open the Administration Console (see Accessing the Administration Console).

  2. On the ASP Server tab of the Server Management page, click Settings.

  3. The Server Settings page displays.

  4. In the Script timeout box, specify the number of seconds after which a script should time out.

  5. If the deadlock timeout is set to a value lower than the script timeout, the ASP engine will restart after the time specified for the deadlock timeout has elapsed.

  6. Click Save, and then restart the ASP Server by clicking Restart.

  7. Note icon Note Restarting the ASP Server resets all Session and Application variables.


ContentsPreviousNextIndex