Ok, so I am trying to do some very basic session stuff, and it won't work. So I wrote this little exercise just to see if I could start a session register a var and call it from another page.
With the code below I get nothing on the 2nd page.
Is it me or my host????
Page 1
<?php
session_start();
session_register(test);
echo "<a href=pg2.php4>click</a>";
?>
Page 2
<?php
$test=$_SESSION[test];
session_start();
echo "($test) is test";
?>
Help
Thanks
Tj