note 109880 added to function.setcookie
| From: | danielpopescu93 at gmail dot com | Date: | Thu, 30 Aug 2012 14:43:35 +0000 |
| Subject: | note 109880 added to function.setcookie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-190275@lists.php.net to get a copy of this message | ||
Hei, so here is what problem I had, maybe it will help someone in the future:
I couldn't delete a cookie, not even set it a different value. I think that is because it had a
name following the rule FirstSecondThird. So it had uppercase letters.
After I modified the name everithing worked.
Another note:
Just for safety you should put what you want to put in the cookie in a var first.
----
Server IP: 69.147.83.197
Probable Submitter: 79.112.122.160
----
Manual Page -- http://www.php.net/manual/en/function.setcookie.php
Edit -- https://master.php.net/note/edit/109880
Del: integrated -- https://master.php.net/note/delete/109880/integrated
Del: useless -- https://master.php.net/note/delete/109880/useless
Del: bad code -- https://master.php.net/note/delete/109880/bad+code
Del: spam -- https://master.php.net/note/delete/109880/spam
Del: non-english -- https://master.php.net/note/delete/109880/non-english
Del: in docs -- https://master.php.net/note/delete/109880/in+docs
Del: other reasons-- https://master.php.net/note/delete/109880
Reject -- https://master.php.net/note/reject/109880
Search -- https://master.php.net/manage/user-notes.php