
Deprecated Session Managers
Chapter 6 Session Managers 65
Deprecated Session Managers
The SimpleSessionManager and the JdbcSessionManager are provided for
backward compatibility with iPlanet Web Server 4.x.
SimpleSessionManager
The SimpleSessionManager works only in single process mode. Its sessions are
not persistent, that is, all sessions are lost when the server is stopped.
Parameters
The SimpleSessionManager class takes the following parameters:
•
maxSessions - the maximum number of sessions maintained by the session
manager at any given time. The session manager refuses to create any more
new sessions if there are already
maxSessions number of sessions present at
that time. The default value is 1000.
•
timeOut - the amount of time in seconds after a session is accessed by the client
before the session manager destroys it. Those sessions that haven’t been
accessed for at least
timeOut seconds are destroyed by the reaper method. The
default value is 1800 (30 minutes).
If
session-timeout is specified in web.xml, it overrides this timeOut
parameter value. For details, see “session-timeout,” on page 15.
•
reapInterval - the amount of time in seconds that the SessionReaper thread
sleeps before calling the
reaper method again. The default value is 600 (10
minutes).
NOTE The parent class of the deprecated session managers is also
deprecated and is included for backward compatibility only:
com.netscape.server.http.session.NSHttpSessionManager
Extend the following class instead:
com.iplanet.server.http.session.IWSHttpSessionManager
NOTE The SimpleSessionManager is deprecated and is included for
backward compatibility only. Use
IWSSessionManager with no
session persistence instead.
Comentários a estes Manuais