note 22006 added to function.setcookie
| From: | bono at bono dot hu | Date: | Mon, 03 Jun 2002 17:35:01 +0000 |
| Subject: | note 22006 added to function.setcookie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-31387@lists.php.net to get a copy of this message | ||
some more information (i 've played with it a couple of hours after that):
only one cookie is setting in one "page loading" (sorry for my english... ;-)))
so, if i remark two cookie setting lines from the three, and leave one active, the remain cookie
variable will be set. it's okay.
so if i remark the line which alredy set the cookie, and get the rem out from another line, and go
back the page, submit again, and the new cookie variable will be set too, and so on, the next line,
and all three cookies will be set... so "one page refresh/one cookie"...
but why? can somebody help me? or is it a php bug, and it will be patched within some days?
--
http://www.php.net/manual/en/function.setcookie.php
http://master.php.net/manage/user-notes.php?action=edit+22006
http://master.php.net/manage/user-notes.php?action=delete+22006
http://master.php.net/manage/user-notes.php?action=reject+22006