I cannot get setcookie to work with IE8. My script works fine in IE7, Firefox, and Safari, but it doesn't seem to work in IE8 running on Windows7, and I'm getting desperate!
Now I am using a very short little test script:
<?php
$value = 'content';
setcookie("CookieTest", $value, 0);
?>
It works great with Firefox, a cookie is created in my folder with a temporary file without any problems. When I run this script in IE8, a cookie is not created. I have already set privacy to the lowest level so that all cookies are accepted. But even then no luck.
Can anyone understand what could be wrong here?
Thanks Gert
Geert source
share