PHP 4.0 Bug #5548: session files does not contain value of variable, only the variable name

From: Date: Thu, 13 Jul 2000 08:36:34 +0000
Subject: PHP 4.0 Bug #5548: session files does not contain value of variable, only the variable name
Groups: php.dev 
Request: Send a blank email to php-dev+get-24275@lists.php.net to get a copy of this message
From: japj@darius.demon.nl Operating system: Windows 2000 PHP version: 4.0 Latest CVS (13/07/2000) PHP Bug Type: Session related Bug description: session files does not contain value of variable, only the variable name I am using Apache 1.3.12 and apache module php4. Using index.php that registeres a session variable and test.php that displays this variable, the session file does not contain the value of the variable, only the variable name. [sess_15e149f29b26e2995c2474bbd083589e]: !my_session_variable| [index.php]: <?php session_start(); $my_session_variable = "some value"; session_register( "my_session_variable"); echo "my session variable '" . $my_session_variable . "'"; ?> <a href="test.php">test</A> [test.php]: <? session_start(); echo "my session variable '" . $my_session_variable . "'"; phpinfo(); ?>

« previous php.dev (#24275) next »