Hi,
In PHP.ini register_globals = off.
The $SESSION Does not Work!???
Look at this Example
Page1.php
<?
session_start();
$_SESSION["id"];
$id = "AbboP";
?>
<a href="page2.php">Kont</a>
page2.php
<?
session_start();
echo "<hr>".$_SESSION["id"]."<br>hhhh";//here the value of $_SESSION["id"] does not printed out?!
unset($_SESSION["id"]);
echo "<br>---".$id;
?>
So What's the problem?
My PHP Version is 4.2.3 it's from phpdev423
register_globals = off.
By the way every thing goes well when I set register_globals = on and use debricated
session_register() ??!!!😕