Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
66 lines (50 sloc) 1.19 KB
__NAME__ purpose
specify the number of characters to hash session directories
__NAME__ synopsis
<arg choice='plain'><replaceable>integer</replaceable></arg>
__NAME__ see also
__NAME__ description
This directive combiles with SessionHashLevels to configure the number of levels and hash length for
the directory structure of file-based sessions.
Default is 1.
This solves the problem of session IDs passed from CGI::Session or other
modules that use a quasi-sequential session ID. You end up placing all
sessions in the S/2 directory for a long time, followed by the S/3 directory,
etc. A setting of:
SessionHashLength 4
SessionHashLevels 1
would break sessions up into separate directories instead of putting all
sessions in a huge directory.
__NAME__ notes
The default value of 1, combined with SessionHashLevels of 2, creates a
directory structure like:
__NAME__ example: Setting SessionExpire
Put the following in &ccf;:
SessionHashLength 4
SessionHashLevels 1
Something went wrong with that request. Please try again.