IE5 Windows and setcookie

From: Date: Tue, 11 Jul 2000 21:35:20 +0000
Subject: IE5 Windows and setcookie
Groups: php.general 
Request: Send a blank email to php-general+get-6016@lists.php.net to get a copy of this message
Does anybody have any tips on IE5 Windows and setcookie? I have gone through and eliminated linefeeds and carriage returns. I have also reviewed settings within the browser. I have tried it on NT4 and Win95. Cookies are set properly in Netscape on Windows, Mac, and Linux, and IE5 on the Mac. Here is the code: if ($remember_userID) { $expires = $now + 946684800; // 30 years } $userpluskey = $userID . HASH_KEY; // create hash $userhash = md5($userpluskey); setcookie("userID","$userID","$expires","/","www.mydomainname.com"); setcookie("userIDcode","$userhash","$expires","/","www.mydomainname.com"); // redirect to previous page $location = "$base_url/$ref_screen"; // these are set above header("Location: $location"); I am at my wits end on this. Has anybody found a solution to this? TIA, Ed -- Ed Trefzger <ed@yellowdog.com> Yellow Dog Communications Inc.

« previous php.general (#6016) next »