Hello, sorry if this is a very easy question
Im currently having trouble passing session variables between pages.
I think maybe my understanding of their functionality may be wrong as when loading the page "next.php" via the link on "page1.php" the variable test is never passed on.
Can anybody see my simple problem?
thanks
Paul
page1.php
<?
session_start();
session_register(´test´);
?>
<HTML>
<?
$_SESSION[´test´] = 7;
?>
......
<a href "next.php">next page</a>
</HTML>
next.php
<?
if (isset($_SESSION[´test´]))
{
// do something
}
?>
<HTML>
......
</HTML>