What am I missing here?
Code:
<?php
//session1.php
session_start();
$_SESSION['webuser'] = 'Ronnie';
header("Location: session2.php");
?>
Code:
<?php
//session2.php
session_start();
echo "<br>Web user is: " . $_SESSION['webuser']; //does not output "Ronnie"
?>