SessionDatabase — specify location of the file-based user sessions database
The SessionDatabase
directive defines the location
of the file-based user sessions database, and the path may be absolute.
For DBM sessions, an appropriate .db
or
.gdbm
suffix will be appended. For the default
file-based sessions, the directive specifies the name of a base
sessions directory.
It is possible for multiple catalogs to share the same session file, as well as for multiple Interchange servers to serve the same catalogs. If serving an extremely busy store, multiple parallel Interchange servers can share the same (NFS-based) file system, and serve users in a "ping-pong" fashion using file-based sessions. On huge systems, even the level of directory hashing may be changed to increase file look-up speeds. By default, only 48 * 48 hashing is done.
Interchange 5.9.0:
Source: lib/Vend/Config.pm
Line 3975 (context shows lines 3975-3989)
sub parse_relative_dir { my($var, $value) = @_; if (absolute_or_relative($value)) { config_error('Path %s not allowed in %s directive', $value, $var); } $C->{Source}{$var} = $value; $value = "$C->{VendRoot}/$value" unless file_name_is_absolute($value); $value =~ s./+$..; $value; }