#25136 [NEW]: THIS IS NOT A BUG (I think) just cookie issue, it doesnt delete!

From: Date: Tue, 19 Aug 2003 00:02:57 +0000
Subject: #25136 [NEW]: THIS IS NOT A BUG (I think) just cookie issue, it doesnt delete!
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-46142@lists.php.net to get a copy of this message
From: pmpp at sapo dot pt Operating system: Windows Xp PHP version: 4.3.2 PHP Bug Type: Unknown/Other Function Bug description: THIS IS NOT A BUG (I think) just cookie issue, it doesnt delete! Description: ------------ Hello, and thanks for reading this! Sorry fot the eng. Well, I made a script with cookies, and all works fine. I use a isset($_COOKIE["name"]); to see if there's a cookie, and I $the_name=$_COOKIE["name"]; to get the info... I use this to creat a cookie: setcookie ("name",$_POST["yourname"], time()+3600,"/"); and this to delete it: setcookie ("name","", time()-3600,"/"); And it works.. at least in Windows XP Ie 6 But with Win Me Ie 6 the cookie keeps there... The only thing that happens, is that the value of the cookie is set to "deleted" well.. thats bad since i search for a cookie with isset... and it is set! so when I print $the_name (since the cookie is there), one with Win Me will get : deleted. I dont know if thats a php problem or just the way win me with Ie 6 handels cookie. The help file just talks about this issues: Microsoft Internet Explorer 4 with Service Pack 1 applied does not correctly deal with cookies that have their path parameter set. Netscape Communicator 4.05 and Microsoft Internet Explorer 3.x appear to handle cookies incorrectly when the path and time are not set. Well, thanks for the atention Sorry fot the bad eng. And thanks again for your work! Pedro Pereira -- Edit bug report at http://bugs.php.net/?id=25136&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25136&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25136&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25136&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25136&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25136&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25136&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25136&r=support Expected behavior: http://bugs.php.net/fix.php?id=25136&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25136&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25136&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25136&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25136&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25136&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25136&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25136&r=gnused

« previous php.bugs (#46142) next »