HELP! I know I'm new at this so please don't laugh. But I can't get this to work! I am using Microsoft IIS with the latest PHP installed. Here's a smple:
. . . setcookie("testCookie", "testValue", time() + 3600, "/"); header("Location: http://newpage.php"); exit; Later, I pull the cookie: echo $_COOKIE["testCookie"]; and there is no value. If I don't use the header function at the end, and write something to the page, it works fine. Why does this cookie not get set? Thanks a ton! Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php