Red Hat NETSCAPE ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manuale Utente Pagina 68

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 124
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 67
Deprecated Session Managers
68 iPlanet Web Server, Enterprise Edition Programmer’s Guide to Servlets • May 2001
reaperActive - tells the session manager whether to run session reaper to
remove expired sessions from the database when
true, which is the default
value. It is recommended that only one server in the cluster be running the
reaper.
accessTimeColumn - the name of the column that holds the last access time in
minutes (the default name is
AccessTime). The SQL type is NUMERIC(9).
sessionIdColumn - the name of the column that holds the session ID (the
default name is
SessionID). The SQL type is VARCHAR(100).
valueColumn - the name of the column that holds the session object (the
default name is
Value). The SQL type is VARBINARY(4096). This column must
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. The following parameters allow you to customize the number of
dedicated connections that perform each of the operations.
lookupPool - the number of connections that perform lookup operations (the
default is 4 connections).
insertPool - the number of connections that perform insert operations (the
default is 4 connections).
updatePool - the number of connections that perform update operations (the
default is 4 connections).
deletePool - the number of connections that perform delete operations (the
default is 2 connections).
Enabling JdbcSessionManager
You may want to enable JdbcSessionManager to change its default parameters.
You can also enable
JdbcSessionManager for a particular context if the server is
running in single process mode. To enable iPlanet Web Server to use
JdbcSessionManager, do any of the following:
Use the Legacy Servlets>Configure Global Servlet Attributes page in the Server
Manager interface.
In the Session Manager field specify:
com.netscape.server.http.session.JdbcSessionManager
You can also specify parameters for the session manager in the Session
Manager Args field, for example:
Vedere la pagina 67
1 2 ... 63 64 65 66 67 68 69 70 71 72 73 ... 123 124

Commenti su questo manuale

Nessun commento