Hi,
I have a site that uses cookies for authentication. A couple of days ago my browser IE5.5 stoped setting this cookie. If I set my browser to prompt when recieving a cookie it doesn't,
The site works with netscape 4.7 on the same computer, and ie5.5 on other machines, but not my own pc. I have checked all my browser settings and it all looks ok,
I have a offline version of the site that runs locally on this PC and the same code generates a cookie. Other sites are still able to set cookies aswell, ie altavista.com.
The code I use for setting this cookie is
$redirect = "cookietest.php3?cookie_check=TRUE&favourite";
$domain = ".favouriteaddresses.com";
$time = mktime() + 604800; // days
$date = date("D, d-M-y H:i:s", ($time));
$path = "/";
$cookie1 = "Set-Cookie: arse=cookie_test1; expires=$date GMT; path=$path; domain=$domain";
$cookie2 = "Set-Cookie: cunt=cookie_test2; expires=$date GMT; path=$path; domain=$domain";
header("Location: $redirect\n$cookie1\n$cookie2\n\n");
By all means please try favouriteaddresses.com/cookietest.php3 ans see if it sets a cookie on you machine.
Many thanks in advance
Justin P