PHP 4.0 Bug #5276 Updated: PHP 4.0.1: session_set_save_handler/session write fails
| From: | Bug Database | Date: | Fri, 30 Jun 2000 01:12:36 +0000 |
| Subject: | PHP 4.0 Bug #5276 Updated: PHP 4.0.1: session_set_save_handler/session write fails | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-22701@lists.php.net to get a copy of this message | ||
ID: 5276
User Update by: tep@sportbug.net
Old-Status: Open
Status: Closed
Bug Type: Session related
Description: PHP 4.0.1: session_set_save_handler/session write fails
The handlers starting working correctly by setting
session.save_handler = user
in the php.ini file.
The code worked without it in PHP 4.0.0
Thanks go to Chris Adams for suppling the fix:
> Set session.save_handler = user in your php.ini. It took me a little create searching to find
> this
> from previous posts to this list. Arguably session_set_save_handler should either override this
> directly or none of the overridden calls should work. However, I have a feeling that by the
> time the
> write handler is called, PHP has already cleared out the temporary setting changes made by your
> script.
Full Bug description available at: http://bugs.php.net/version4/?id=5276