|Hello all,
I'm mad with me....sorry but see if can understand why I'm mad.
Copy the 3 attached files, and run it.
In one.php just click to the link (it works.....), now in two.php you can see: " and 
now: aaaaaaa", cool hum...
Clicking in OFF link you can see the result of phpinfo, but section of Apache 
Evironment, in HTTP_COOKIE you (at least I have) the PHPSESSID with value, in spite of 
in off.php code I make a session_destroy????
Now if you use history back button, go to two.php, and OK the session variable dont 
appear, Back again, Forward and voila' here is 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.
I have try to follow some Jeff Armstrong tips, but I have no success.Thank you very 
much Jeff (really...I'm no jocking...).
Any ideas ?? 
T.Y all

Best Regards
Miguel Loureiro <[EMAIL PROTECTED]>


--------------------------------------------------------------------------------

CODE:

one.php
<?

session_start();

session_register("a"); 

$a="aaaaaaaaa";

?>

<html>

<body>

<form>

<a href="two.php"> 2 </a> 

</form>

</body>

</html>




two.php
<?

session_start();

?>

<html>

<body>

and now : <?echo $a?>

<a href="off.php">OFF</a>

</body>

</html>




off.php
<?

session_start();

unset($a);

session_destroy();


phpinfo();

?>



Reply via email to