Netscape ENTERPRISE SERVER 6.0 - PROGRAMMER GUIDE TO SERVLETS Programmer's Manual page 57

Guide to servlets
Table of Contents

Advertisement

<init-param>
<param-name>reapInterval</param-name>
<param-value>600</param-value>
</init-param>
</session-manager>
For more information about the
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
apply to the default virtual server only.
Add a line specifying a value for
also add a line specifying the parameters for the session manager. For example:
servlets.sessionmgr=com.netscape.server.http.session.YourSesMgr
servlets.sessionmgr.initArgs=maxSessions=20,timeOut=300,reapInterval=
150
Edit the file
contexts.properties
apply to the default virtual server only.
Add a line specifying a value for
appropriate, also add a line specifying the parameters for the session manager.
For example:
context.global.sessionmgr=com.netscape.server.http.session.YourSesM
gr
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."
file, see Chapter 2, "Web
web-apps.xml
in the directory server_id
servlets.sessionmgr
in the directory server_id
context_name
context.
Chapter 6
Specifying a Session Manager
. This will
/config
and, if appropriate,
. This will
/config
and, if
.sessionmgr
Session Managers
57

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents