Netscape ENTERPRISE SERVER 6.1 - PROGRAMMER GUIDE TO SERVLETS Programmer's Manual page 60

Guide to servlets
Table of Contents

Advertisement

NESSessionManager
If the
NESSessionManager
provider
For more information about the JDBC API, see the following web site:
http://java.sun.com/products/jdbc/index.html
NOTE
url
table
username
password
reaperActive
remove expired sessions from the database when
value. It is recommended that only one server in the cluster be running the
reaper.
accessTimeColumn
minutes (the default name is
timeOutColumn
minutes (the default name is
sessionIdColumn
default name is
valueColumn
default name is
be large enough to accommodate all your session data.
60
Netscape Enterprise Server Programmer's Guide to Servlets • April 2002 (Draft)
session-data-store
takes the following additional parameters:
- the JDBC driver (the default is
The
JdbcStore
assigned to the
in
web-apps.xml
the
jvm12.conf
"JVM Configuration."
- the data source (the default is
- name of the SQL table that store sessions (the default is
- the login username for the database.
- the login password for the database.
- tells the session manager whether to run session reaper to
- the name of the column that holds the last access time in
- the name of the column that holds the session timeout in
- the name of the column that holds the session ID (the
SessionID
- the name of the column that holds the session object (the
). The SQL type is VARBINARY(4096). This column must
Value
parameter is set to the
sun.jdbc.odbc.JdbcOdbcDriver
class does not recognize JDBC driver classes
attribute of the
classpath
. Assign them to the
file instead. For more information, see Appendix C,
jdbc:odbc:LocalServer
). The SQL type is NUMERIC(9).
AccessTime
). The SQL type is NUMERIC(9).
TimeOut
). The SQL type is VARCHAR(100).
class,
JdbcStore
element
class-loader
variable in
jvm.classpath
).
sessions
, which is the default
true
).
).

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.1

Table of Contents