Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

Changing the Script Timeout Value

You can specify the number of seconds that 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 its resources for another session.

By default, the session timeout value is 90 seconds. To change this value, use the following procedure.

To change the script timeout value

1.   Open the Administration Console by using the following URL:

http://[HOSTNAME]:[PORT]

where [HOSTNAME] is the hostname of your Web server and [PORT] is the port on which the Administration Console is running (5100 by default).

2.   On the ASP tab of the Server Management page (the first page that displays when you open the Administration Console), click Settings.

image\settings_c.gif

The Server Settings page displays.

image\server_settings.gif

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

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

Note

Restarting the ASP Server resets all Session and Application variables.

See also:

Optimizing Server Performance in this chapter

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.