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

  • 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 56
Specifying a Session Manager
Chapter 6 Session Managers 57
</init-param>
<init-param>
<param-name>reapInterval</param-name>
<param-value>600</param-value>
</init-param>
</session-manager>
For more information about the web-apps.xml file, see Chapter 2, “Web
Applications.”
Use the Legacy Servlets>Configure Global Servlet Attributes page in the Server
Manager interface.
In the Session Manager field, specify the session manager, and, if appropriate,
specify parameters for the session manager in the Session Manager Args field.
Edit the file
servlets.properties in the directory server_id/config. This will
apply to the default virtual server only.
Add a line specifying a value for
servlets.sessionmgr and, if appropriate,
also add a line specifying the parameters for the session manager. For example:
servlets.sessionmgr=com.iplanet.server.http.session.YourSesMgr
servlets.sessionmgr.initArgs=maxSessions=20,timeOut=300,reapInterval=150
Edit the file contexts.properties in the directory server_id/config. This will
apply to the default virtual server only.
Add a line specifying a value for
context.context_name.sessionmgr and, if
appropriate, also add a line specifying the parameters for the session manager.
For example:
context.global.sessionmgr=com.iplanet.server.http.session.YourSesMgr
context.global.sessionmgr.initArgs=maxSessions=20,timeOut=300
You can change the global context or define a new context and assign specific
servlets to it. For more information, see Chapter 8, “Legacy Servlet and JSP
Configuration.”
Zobrazit stránku 56
1 2 ... 52 53 54 55 56 57 58 59 60 61 62 ... 123 124

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

Žádné komentáře