note 109880 deleted from function.setcookie by cmb
| From: | cmb@php.net | Date: | Sun, 10 Nov 2019 12:49:01 +0000 |
| Subject: | note 109880 deleted from function.setcookie by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-213002@lists.php.net to get a copy of this message | ||
Note Submitter: danielpopescu93 at gmail dot com
----
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.