
IWSSessionManager
Chapter 6 Session Managers 59
• maxLocks - the number of cross-process locks to use for synchronizing access
to individual sessions across processes. The default value is 10. This default
value is used if the value 0 is specified. This parameter is ignored in
single-process mode.
•
session-data-store - the name of the class that determines the means of
session persistence. The classes supplied with iPlanet Web Server are:
❍ com.iplanet.server.http.session.JdbcStore
❍ com.iplanet.server.http.session.FileStore
If you do not specify the
session-data-store parameter, sessions are not
persistent in single-process mode, and
FileStore is the default in
multi-process mode.
The
JdbcStore and FileStore classes are subclasses of the
SessionDataStore class. You can create your own class that implements
session persistence by extending
SessionDataStore.
If the
session-data-store parameter is set to the JdbcStore or FileStore class,
IWSSessionManager takes the following additional parameter:
•
session-failover-enabled - specifies whether sessions are reloaded from
the persistent store for every request, and always forced to true in
multi-process mode.
If the
session-data-store parameter is set to the FileStore class,
IWSSessionManager takes the following additional parameter:
•
session-data-dir - the directory in which session data for all servers and
web applications is kept.
If the
session-data-dir parameter is not specified, the following directory is
used by default:
server_root
/server_id/SessionData/virtual_server_id/web_app_URI
If the
session-data-store parameter is set to the JdbcStore class,
IWSSessionManager takes the following additional parameters:
NOTE Prior to using
JdbcStore, you must create the table in which the
session information is stored. The name of the table is specified by
the
table parameter, and the table’s four columns are specified by
the
accessTimeColumn, timeOutColumn, sessionIdColumn, and
valueColumn parameters.
Kommentare zu diesen Handbüchern