Bug #14566: Session variables become read only
| From: | dward at maidencreek dot com | Date: | Mon, 17 Dec 2001 20:47:43 +0000 |
| Subject: | Bug #14566: Session variables become read only | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-74186@lists.php.net to get a copy of this message | ||
From: dward@maidencreek.com
Operating system: Solaris 7
PHP version: 4.1.0
PHP Bug Type: Session related
Bug description: Session variables become read only
In PHP 4.1.0 it seems that session variables can only be set once and will
not be updated from subsequent pages (when using a user save_handler at
least). The same code works fine in PHP 4.0.6.
It seems that the write handler registered with session_set_save_handler()
gets the same session data that was read with the read handler except that
newly set session variables get added.
--
Edit bug report at: http://bugs.php.net/?id=14566&edit=1