summaryrefslogtreecommitdiff
path: root/php.ini-dist
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2003-01-16 07:21:49 +0000
committerSascha Schumann <sas@php.net>2003-01-16 07:21:49 +0000
commitdb8b4c67629334da8daad5ce28d51f8f644ef113 (patch)
tree2a46ff4125183a9006da1480ced0c4cb8907e091 /php.ini-dist
parent4e53357e9bab7ac8a22218f283213f8a4bec7fbf (diff)
downloadphp-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-dist12
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