summaryrefslogtreecommitdiff
path: root/php.ini-recommended
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2003-01-12 13:07:14 +0000
committerSascha Schumann <sas@php.net>2003-01-12 13:07:14 +0000
commitf2f1f94e36cbad9a1ece8a5a3ad3d291c87e8b47 (patch)
tree38f5cc3494df29b721b8151c8635b6388a91e994 /php.ini-recommended
parent0b8401bf271eb02f4741064df55ee853edeb2594 (diff)
downloadphp-git-f2f1f94e36cbad9a1ece8a5a3ad3d291c87e8b47.tar.gz
add INI setting session.hash_function
add support for creating session ids using SHA-1 source more entropy for session ids
Diffstat (limited to 'php.ini-recommended')
-rw-r--r--php.ini-recommended5
1 files changed, 5 insertions, 0 deletions
diff --git a/php.ini-recommended b/php.ini-recommended
index 3fffd4dbd0..8d6990aa86 100644
--- a/php.ini-recommended
+++ b/php.ini-recommended
@@ -891,6 +891,11 @@ session.cache_expire = 180
; always using URL stored in browser's history or bookmarks.
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 = 0
+
; 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