diff options
author | Sascha Schumann <sas@php.net> | 2003-01-16 07:21:49 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2003-01-16 07:21:49 +0000 |
commit | db8b4c67629334da8daad5ce28d51f8f644ef113 (patch) | |
tree | 2a46ff4125183a9006da1480ced0c4cb8907e091 /php.ini-dist | |
parent | 4e53357e9bab7ac8a22218f283213f8a4bec7fbf (diff) | |
download | php-git-db8b4c67629334da8daad5ce28d51f8f644ef113.tar.gz |
Add INI setting session.hash_bits_per_character which enables developers
to choose how session ids are represented, regardless of the hash algorithm.
Diffstat (limited to 'php.ini-dist')
-rw-r--r-- | php.ini-dist | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/php.ini-dist b/php.ini-dist index d14255b5d0..282db20fcc 100644 --- a/php.ini-dist +++ b/php.ini-dist @@ -897,10 +897,18 @@ session.cache_expire = 180 session.use_trans_sid = 0 ; Select a hash function -; 0: MD5 (128 bits, 32 characters, [0-9a-f]) -; 1: SHA-1 (160 bits, 32 characters, [0-9a-v]) +; 0: MD5 (128 bits) +; 1: SHA-1 (160 bits) session.hash_function = 0 +; Define how many bits are stored in each character when converting +; the binary hash data to something readable. +; +; 4 bits: 0-9, a-f +; 5 bits: 0-9, a-v +; 6 bits: 0-9, a-z, A-Z, "-", "," +session.hash_bits_per_character = 4 + ; The URL rewriter will look for URLs in a defined set of HTML tags. ; form/fieldset are special; if you include them here, the rewriter will ; add a hidden <input> field with the info which is otherwise appended |