I am using Apache 1.3.22 + PHP4.2.2 compiled as a CGI 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(); ?>