I have two files, file1.php and file2.php. file1.php calls file 2.php. The contents of the sesion variable ("TWO") appear in file1.php, but not in file2.php, so it is not getting passed along. I have seen this question posted in numerous forums, but still don't know what to do.
/// file1.php
<?php $SESSION["test"] = "TWO"; ?>
<html>
<body>
ONE <?php echo $SESSION["test"]?> THREE
<a href="file2.php">go</a>
</body>
</html>
/// file2.php
<html>
<body>
ONE <?php echo $_SESSION["test"]?> THREE
</body>
</html>