Hi All, I have two php scripts
test.php
<?php
header("location: test2.php");
setcookie("test", "8kFL4IZfjkBmV7AC", time()+60*60, '/');
exit;
?>
test2.php
<?php
var_dump($_COOKIE);
?>
I then point my browser to test.php which redirects to test2.php. I then get the following results.
In firefox, i get the following:
array
'test' => string '8kFL4IZfjkBmV7AC' (length=16)
However in IE6, i get the following:
array
'PHPSESSID' => string 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' (length=32)
note: i have purposely X'd out the PHPSESSID above!
Does anybody know where i am going wrong and why IE6 isnt showing my cookie.
Thanks in advance