From f2f1f94e36cbad9a1ece8a5a3ad3d291c87e8b47 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Sun, 12 Jan 2003 13:07:14 +0000 Subject: add INI setting session.hash_function add support for creating session ids using SHA-1 source more entropy for session ids --- php.ini-dist | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'php.ini-dist') 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 field with the info which is otherwise appended -- cgit v1.2.1