[z/OS]

Configuring a table for session persistence

To configure a table for collecting session data, you must add the name of the table to the web container configuration properties.

About this task

[z/OS]If you are using database for session persistence, you must create and define a database table to the application server to collect session data.

[AIX Solaris HP-UX Linux Windows][IBM i]If you are using database for session persistence, you can create and define a database table to the application server to collect session data.

To configure a table for collecting session data, use the administrative console to add the name of this table to the web container's configuration properties:

Procedure

  1. Open the administrative console.
  2. In the administrative console, click Servers > Server Types > WebSphere application servers.
  3. Select a server from the list of application servers and click its name.
  4. Under Container Settings, click Session Management.
  5. Under Additional Properties, click Custom properties.
  6. Click SessionTableName to configure the DB2® table, or click New to create a new property.
  7. [AIX Solaris HP-UX Linux Windows][IBM i]Specify 'SessionTableName' in the Name field if you are creating a new property. In the Value field, enter the name of the session table.
    Optionally, you can update the description of this table in the Description field. For example, you might enter Table name for HTTP session data.
  8. [z/OS]Specify 'SessionTableName' in the Name field if you are creating a new property. In the Value field, enter the name of the session table. The value must have the form, schema_name.table_name.
    For example, if the schema name is DB2ADMIN and the table name is SESSIONS, enter DB2ADMIN.SESSIONS for Value.
    Optionally, you can update the description of this table in the Description field. For example, you might enter Table name for HTTP session data.
  9. Click Apply > Save.

Results

When the product is restarted, the session management facility creates the new SESSIONS table in the specified tablespace.