note 51729 deleted from function.setcookie by danbrown
| From: | danbrown@php.net | Date: | Sun, 17 May 2009 18:00:01 +0000 |
| Subject: | note 51729 deleted from function.setcookie by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-155049@lists.php.net to get a copy of this message | ||
Note Submitter: scissorjammer at hotmail dot com
----
As per Sijmen Ruwhof's comment:
It's not that the domain requires a dot as much as it requires a fully qualified domain name.
Setting it to false is a valid workaround, as it will default to whatever domain the page is being
accessed at. If a fully qualified domain name is unavailable, consider editing your hosts file on
both the client and server to have a common domain name to use for the cookie.