I have got an issue which I am 99% sure is related to Internet Explorer (no way!): session variables are not being carried from one file to another (on the same domain). The pages are served by IIS 7.
To simplify the problem-solving process I have created two test files:
test_1.php:
<?php
session_start();
$_SESSION['test'] = '123';
?>
<a href="test_2.php">Go to result</a>
test_2.php:
<?php
session_start();
echo $_SESSION['test'];
session_unset();
?>
<a href="test_1.php">Go to page 1</a>
This works as expected in Chrome 33.0.1750.154 and Firefox 28.0, but in IE9 I get the following error:
Notice: Undefined index: test in D:\test_2.php on line 3
Am I missing something obvious?
Thanks