Red Hat NETSCAPE ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Uživatelský manuál Strana 61

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 124
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 60
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.”
Zobrazit stránku 60
1 2 ... 56 57 58 59 60 61 62 63 64 65 66 ... 123 124

Komentáře k této Příručce

Žádné komentáře