Re: PHP 4.0 Bug #5276: PHP 4.0.1: session_set_save_handler/session write fails
| From: | Chris Adams | Date: | Thu, 29 Jun 2000 00:52:56 +0000 |
| Subject: | Re: PHP 4.0 Bug #5276: PHP 4.0.1: session_set_save_handler/session write fails | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-22697@lists.php.net to get a copy of this message | ||
> The session write function does not get called instead the
> error message from line 495 in session.c is given in the
> php error log "Failed to write session data....."
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.