note 14546 added to function.setcookie.php
| From: | cirdan at NOSPAM dot thep dot lu dot se | Date: | Fri, 03 Aug 2001 10:38:16 +0000 |
| Subject: | note 14546 added to function.setcookie.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-16278@lists.php.net to get a copy of this message | ||
I have so far have had no problems with
setcookie() together with Location:. I'm relying
on PHP4.0.6 to format the Set-cookie header
correctly (haven't checked if it really does,
though), and I'm making sure that I follow the
HTTP specs when it comes to Location.
The previous poster should note that RFC 2616
has this to say: "The field value consists of a
single absolute URI".
http://www.php.net/manual/en/function.setcookie.php