note 19425 added to function.setcookie
| From: | sbelanger at eangulus dot com | Date: | Wed, 27 Feb 2002 02:34:37 +0000 |
| Subject: | note 19425 added to function.setcookie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-27108@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.
--
http://www.php.net/manual/en/function.setcookie.php
http://master.php.net/manage/user-notes.php?action=edit+19425
http://master.php.net/manage/user-notes.php?action=delete+19425
http://master.php.net/manage/user-notes.php?action=reject+19425