note 71013 added to function.setcookie
| From: | phalien at gmail dot com | Date: | Wed, 08 Nov 2006 10:48:36 +0000 |
| Subject: | note 71013 added to function.setcookie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-119507@lists.php.net to get a copy of this message | ||
If you're having the problem with cookies dissapearing after using Location redirect,
abdullah's solution is working fine, but you have to specify the cookie's path and domain.
If not, the cookie still vanishes.
Tested on Linux + Apache + PHP + FF.
----
Server IP: 66.163.161.117
Probable Submitter: 80.97.64.210
----
Manual Page -- http://www.php.net/manual/en/function.setcookie.php
Edit -- https://master.php.net/note/edit/71013
Del: integrated -- https://master.php.net/note/delete/71013/integrated
Del: useless -- https://master.php.net/note/delete/71013/useless
Del: bad code -- https://master.php.net/note/delete/71013/bad+code
Del: spam -- https://master.php.net/note/delete/71013/spam
Del: non-english -- https://master.php.net/note/delete/71013/non-english
Del: in docs -- https://master.php.net/note/delete/71013/in+docs
Del: other reasons-- https://master.php.net/note/delete/71013
Reject -- https://master.php.net/note/reject/71013
Search -- https://master.php.net/manage/user-notes.php