+

Search Tips   |   Advanced Search

z/OS - Configure a table for session persistence

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

(ZOS) If we are using database for session persistence, create and define a database table to the application server to collect session data.

(iSeries) (Dist) If we are using database for session persistence, we 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:


Tasks

  1. Open the administrative console.

  2. To configure the DB2 table or create a new property,. in the administrative console, click...

      Servers > Server Types > WebSphere application servers > servername > Container Settings > Session Management > Additional Properties > Custom properties > [SessionTableName | New]

  3. (iSeries) (Dist) Specify 'SessionTableName' in the Name field if we are creating a new property. In the Value field, enter the name of the session table. Optionally, we can update the description of this table in the Description field. For example, we might enter "Table name for HTTP session data".

  4. Specify 'SessionTableName' in the Name field if we 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, we can update the description of this table in the Description field. For example, we might enter "Table name for HTTP session data".

  5. Click Apply > Save.

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

  • (ZOS) Create a DB2 table for session persistence