1.php
<?php
session_start();
$_SESSION[test] = 3;
echo "<a href='2.php'>2</a>";
?>
2.php
<?php
session_start();
echo $_SESSION[test];
?>
It will not display the 3 on the second page. But if they keep trying and trying and trying and trying like 50 times, eventually it works.
Then it works forever.
So what gives? The browser have to be "broken in" to sessions or something?
And why don't my sessions work but logins on other websites work fine the first time, despite sessions being how they do it as well.