Noticed that if I assign data to a $_SESSION array and go to the next webpage then you'll have that new data. If you go to the next webpage by using the same file (webpage) or a $_SERVER['PHP_SELF'], the data in the $_SESSION array remain the same, it does not change as it should. But if you do the browser refresh, the data would remain the same which it should be.
How do I do a workaround to the problem. I would appreciate any help... --snip-- <<File --> page1.php>> <? // Let's say $_SESSION['test'] already have the data as 'one'... @session_start(); $SID = session_name()."=".session_id(); if ($_SESSION['test'] == "one") { $_SESSION['test'] = "two" }; if ($_SESSION['test'] == "two") { $_SESSION['test'] = "three" }; if ($_SESSION['test'] == "three") { $_SESSION['test'] = "four" }; if ($_SESSION['test'] == "four") { $_SESSION['test'] = "one" }; echo "<a href='page1.php?$SID'>Next Page</a>"; ?> --snip-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php