note 42244 added to function.session-start
| From: | mzajonc at pomona dot edu | Date: | Sun, 09 May 2004 16:27:39 +0000 |
| Subject: | note 42244 added to function.session-start | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-69376@lists.php.net to get a copy of this message | ||
The way PHP5 creates session ids has changed. No longer are session ids always 32 characters.
Rather it depends on how session.hash_function and and session.hash_bits_per_character are set in
php.ini. The default now gives 27 characters. To go back to 32 change the function to 1 and and
bits to 5 or function 0 and bits to 4.
This problem is particularily relevant for people using custom session handlers. For example, it
affects phpSecureSessions.
----
Manual Page -- http://www.php.net/manual/en/function.session-start.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+42244
Delete -- http://master.php.net/manage/user-notes.php?action=delete+42244&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+42244&report=yes
Search -- http://master.php.net/manage/user-notes.php