+

Search Tips   |   Advanced Search

Session management settings

Use this page to manage HTTP session support. This support includes specifying a session tracking mechanism, setting maximum in-memory session count, controlling overflow, and configuring session timeout. To view this console page at the web container level, click...

We can override the session management settings at the application level.


Session tracking mechanism


Maximum in-memory session count

Maximum number of sessions to maintain in memory for each web module.

The meaning differs depending on whether you are using in-memory or distributed sessions. For in-memory sessions, this value specifies the number of sessions in the base session table for a web module. Use the Allow overflow property to specify whether to limit sessions to this number for the entire session management facility or to allow additional sessions to be stored in secondary tables. For distributed sessions, this value specifies the size of the memory cache for sessions of each web module. When the session cache has reached its maximum size and a new session is requested, the session management facility removes the least recently used session from the cache to make room for the new one.

Do not set this value to a number less than the maximum thread pool size for your server.


Allow overflow

The number of sessions in memory can exceed the value specified by the Max in-memory session count property. This option is valid only in non-distributed sessions mode.


Session timeout

How long a session can go unused before it is no longer valid. Specify either Set timeout or No timeout. Specify the value in minutes greater than or equal to two.

The value specified in a web module deployment descriptor file takes precedence over the console settings. However, the value of this setting is used as a default when the session timeout is not specified in a web module deployment descriptor. To preserve performance, the invalidation timer is not accurate to the second. When the write frequency is time-based, ensure that this value is least twice as large as the write interval.


Security integration

Specifies that when security integration is enabled, the session management facility associates the identity of users with their HTTP sessions. Session security (security integration) is enabled by default.


Serialize session access

Specifies that concurrent session access in a given server is not permitted.


Related tasks

  • Configure session tracking
  • Configure session management by level