note 19425 deleted from function.setcookie by sniper

From: Date: Wed, 11 Dec 2002 07:18:27 +0000
Subject: note 19425 deleted from function.setcookie by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-40734@lists.php.net to get a copy of this message
I had a problem with cookie deletion using the setcookie function. I originally made my script in Windows XP (IIS 5.0) and using PHP 4.1.1). Then to make sure it would work on other machines i did tried the very same script on another PHP 4.1.1 machine (Windows 2k IIS 5.0) but the cookie was not deleted. I noticed that i had an underscore ( _ ) in my cookie name. I removed that character and it worked 100% unscratched on both machines. If you get to have a similar problem, check for underscores in your cookie name, it may be the solution to your problem.

« previous php.notes (#40734) next »