Sun Java System Application Server Platform Edition 9 Administration Guide

Configuring Web Container Sessions

This section describes the HTTP session settings in the Web container. HTTP sessions are unique web sessions that have their state data written to a persistent store.

Configuring Session Timeout Value

Use the Admin Console to set the HTTP session timeout value. The session timeout value represents the duration for which an HTTP session is valid.

In the Admin Console, go to Configuration> Web Container > Session Properties. In the Session Timeout field, enter the number of seconds that a session is valid.

For detailed instructions on setting the session timeout value, Click Help in the Admin Console.

Configuring Manager Properties

The session manager provides the means to configure how sessions are created and destroyed, where session state is stored, and the maximum number of sessions.

To change the session manager settings in the Admin Console, go to Configuration> Web Container > Manager Properties.

In the Manager Properties tab, set the following properties:

For detailed instructions on setting the manager properties, Click Help in the Admin Console.

Configuring Store Properties

To specify where the session store data will be saved, in the Admin Console, go to Configuration > Web Container > Store Properties.

For detailed instructions on setting the session store properties, Click Help in the Admin Console.

ProcedureTo configure the product.name property

By default, the web container returns an HTTP response header with an attribute whose name is "Server" and value is the version of the Application Server Software. For example, on Application Server 9 Platform Edition, the value is: "Server: Sun Java System Application Server Enterprise Edition 9.0 FCS". Run the asadmin version command to view the version of your installation. If you want to override this value, define a Java Property named product.name in the server's configuration and initialize it to the value of your choice. This value determines what is returned by the server in the HTTP response. To change the property:

  1. Start the Application Server and log in to Admin Console.

  2. Click Application Server and click the JVM Settings tab.

  3. Click Add JVM Option.

  4. Enter the following value: -Dproduct.name="My Name".