Deprecated Session Managers
If
parameter value. For details, see "session-timeout," on page 15.
•
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
•
sessionIdColumn
default name is
•
valueColumn
default name is
be large enough to accommodate all your session data.
Each type of operation on the database that handles session information (looking
up, inserting, updating, and deleting) is performed by a corresponding dedicated
connection. Each of these connections has a precompiled SQL statement for higher
performance.
68
Netscape Enterprise Server Programmer's Guide to Servlets • April 2002 (Draft)
is specified in
session-timeout
- 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 ID (the
SessionID
- the name of the column that holds the session object (the
). The SQL type is VARBINARY(4096). This column must
Value
, it overrides this
web.xml
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 VARCHAR(100).
timeOut
element
class-loader
variable in
jvm.classpath
).
sessions
, which is the default
true
).
).
Need help?
Do you have a question about the NETSCAPE ENTERPRISE SERVER 6.1 - PROGRAMMER GUIDE TO SERVLETS and is the answer not in the manual?
Questions and answers