summaryrefslogtreecommitdiff
path: root/php.ini-dist
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-dist
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-dist')
-rw-r--r--php.ini-dist5
1 files changed, 5 insertions, 0 deletions
diff --git a/php.ini-dist b/php.ini-dist
index 8eaa0d9120..54a9f0b24b 100644
--- a/php.ini-dist
+++ b/php.ini-dist
@@ -896,6 +896,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, [0-9a-f])
+; 1: SHA-1 (160 bits, 32 characters, [0-9a-z])
+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