summaryrefslogtreecommitdiff
path: root/php.ini-recommended
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-recommended
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-recommended')
-rw-r--r--php.ini-recommended14
1 files changed, 11 insertions, 3 deletions
diff --git a/php.ini-recommended b/php.ini-recommended
index 023618f307..0f69b6cfdb 100644
--- a/php.ini-recommended
+++ b/php.ini-recommended
@@ -892,9 +892,17 @@ session.cache_expire = 180
session.use_trans_sid = 0
; Select a hash function
-; 0: MD5 (128 bits, 32 characters, alphabet [0-9a-f])
-; 1: SHA-1 (160 bits, 32 characters, alphabet [0-9a-v])
-session.hash_function = 1
+; 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 = 5
; 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