Bug #9002 Updated: User session handler doesn't work with register_globals set "Off"
| From: | sniper@php.net | Date: | Fri, 15 Jun 2001 03:19:43 +0000 |
| Subject: | Bug #9002 Updated: User session handler doesn't work with register_globals set "Off" | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-56918@lists.php.net to get a copy of this message | ||
ID: 9002
Updated by: sniper
Reported By: andre@promediasystems.de
Old-Status: Open
Status: Closed
Bug Type: *Session related
Operating system:
PHP Version: 4.0.4pl1
Assigned To:
Comments:
This should be fixed in PHP 4.0.6, please try the
latest RC from:
http://www.php.net/~andi/php-4.0.6RC3.tar.gz
(if above link doesn't work, try changing RC3 to RC4)
Previous Comments:
---------------------------------------------------------------------------
[2001-01-30 09:27:25] andre@promediasystems.de
Set the following variables in php.ini:
register_globals = Off
session.save_handler = user
Then register a user handler in your php script with
session_set_save_handler(...);
Trace the calls of the handler functions in a log file and you will see:
The user defined session handlerfunction for WRITING the session will never be called!
With register_globals=On the same works!
Andre
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9002&edit=2