For more information... RTFM!
NAVIGATION
PAGES THAT LINK HERE
ACCOUNT LOGIN

You are not logged in

Powered by Interchange version 5.7.0

SessionType

Specify the type of user session management that should be used.

Synopsis

SessionType  type

The parameter is expected to be a session type, as listed below.  The default is "File".

Scope

This directive is only available for use in the local (catalog.cfg) configuration file.  It will not affect any other website in any way.  This directive will not work in the global (interchange.cfg) configuration file. 

Description

This directive is used to specify the type of user session management that should be used.  Valid values are as follows:

Name Description
DB_File Berkeley DB
DBI DBI (see the SessionDB directive)
File File-based sessions (this is the default)
NFS File-based sessions, forces use of fcntl locking
GDBM GDBM

The default is to use file-based sessions, which provides the best performance and reliability in most environments.

If you're planning on running Interchange servers with an NFS-mounted filesystem as the session target, then you must set this directive to "NFS".

Other NFS requisites are usually:

  • fcntl must be supported by your Perl installation, which it usually is.
  • The NFS lock daemon must be running on the NFS server.
  • The NFS lock daemon must be running on Interchange server.
  • NFS must be installed and configured correctly.  :-)

If, for some reason, you find that you are unable to use NFS or File-based sessions, then you can consider the use of DBI sessions.  DBI sessions must only be considered as a last resort, as NFS or File-based sessions are almost always more appropriate.

Warning

Warning

If using NFS or DBI sessions then you must make sure that the system clocks are in synch across all of your servers.  NTP is recommended for this.

See also

Category:  Local config directives
Last modified by: Kevin Walsh
Modification date: Friday 24 August 2007 at 5:35 PM (EDT)
Home  |  Legal nonsense  |  Privacy policy  |  Contact us