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

 

Changing the Session Timeout Value

You can specify the number of minutes that the ASP Server maintains a user's session information since the last page request. When the user does not submit a request for the specified length of time, the server cancels the session and discards its stored information. Enabling the ASP Server to discard user information frees up its resources for another session.

By default, the session timeout value is 20 minutes. To change this value, use the following procedure.

Note

A value specified for SessionTimeout in a script overrides this setting.

To change the session 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 Session timeout box, type the number of minutes of inactivity after which a user session times 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.