IWSSessionManager
Chapter 6 Session Managers 61
• insertPool - the number of connections that perform insert operations (the
default is 4 connections).
•
updatePool - the number of connections that perform update operations (the
default is 4 connections).
•
deletePool - the number of connections that perform delete operations (the
default is 2 connections).
Enabling IWSSessionManager
You may want to enable IWSSessionManager to change its default parameters.
You can also enable
IWSSessionManager for a particular context if the server is
running in single process mode. To enable iPlanet Web Server to use
IWSSessionManager, do any of the following:
• Edit the file
web-apps.xml in the directory server_id/config.
Add a
session-manager element within the web-app element for the servlet or
JSP as in the following example:
<session-manager
class=’com.iplanet.server.http.session.IWSSessionManager’
<init-param>
<param-name>maxSessions</param-name>
<param-value>1000</param-value>
</init-param>
<init-param>
<param-name>timeOut</param-name>
<param-value>1800</param-value>
</init-param>
<init-param>
<param-name>reapInterval</param-name>
<param-value>600</param-value>
</init-param>
<init-param>
<param-name>session-data-dir</param-name>
<param-value>/net/dotcom.com/sessions</param-value>
</init-param>
</session-manager>
For more information about the web-apps.xml file, see Chapter 2, “Web
Applications.”
Commenti su questo manuale