note 99451 added to function.setcookie
| From: | lugol1 at lugol dot net | Date: | Wed, 18 Aug 2010 13:05:17 +0000 |
| Subject: | note 99451 added to function.setcookie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-171797@lists.php.net to get a copy of this message | ||
For some reason once I set $path = '/', the cookies won't set unless I also specify
$domain = ''....
Hope this helps somebody...
----
Server IP: 69.147.83.197
Probable Submitter: 109.164.255.16
----
Manual Page -- http://www.php.net/manual/en/function.setcookie.php
Edit -- https://master.php.net/note/edit/99451
Del: integrated -- https://master.php.net/note/delete/99451/integrated
Del: useless -- https://master.php.net/note/delete/99451/useless
Del: bad code -- https://master.php.net/note/delete/99451/bad+code
Del: spam -- https://master.php.net/note/delete/99451/spam
Del: non-english -- https://master.php.net/note/delete/99451/non-english
Del: in docs -- https://master.php.net/note/delete/99451/in+docs
Del: other reasons-- https://master.php.net/note/delete/99451
Reject -- https://master.php.net/note/reject/99451
Search -- https://master.php.net/manage/user-notes.php