I configured well ( I think) my system (win32-apache 1.3.24-php4.1.2)
and every think is working except session variables. Codes like this
don't work:
page1.php
<?php
session_start();
$_SESSION['test']="adding";
header("Location: page2.php?".SID);
exit;
?>
page2.php
<?php
session_start();
print $_SESSION['test'];
?>
Question:
-----------
Why in the 2nd page $_SESSION['test'] is not set and
so no available?
N.B: All codes I wrote first for php4.1.0 don't work with the
new version of php........
Please help me....
Thank you. |