PHP 4.0 Bug #9002: User session handler doesn't work with register_globals set "Off"

From: Date: Tue, 30 Jan 2001 14:27:25 +0000
Subject: PHP 4.0 Bug #9002: User session handler doesn't work with register_globals set "Off"
Groups: php.dev 
Request: Send a blank email to php-dev+get-45402@lists.php.net to get a copy of this message
From: andre@promediasystems.de Operating system: Linux 2.2.16 PHP version: 4.0.4pl1 PHP Bug Type: *Session related Bug description: User session handler doesn't work with register_globals set "Off" 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 -- Edit Bug report at: http://bugs.php.net/?id=9002&edit=1

« previous php.dev (#45402) next »