Bug #17640: Cookies not being set right...
| From: | administrator at plipp dot net | Date: | Fri, 07 Jun 2002 12:07:52 +0000 |
| Subject: | Bug #17640: Cookies not being set right... | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-9748@lists.php.net to get a copy of this message | ||
From: administrator@plipp.net
Operating system: Linux Redhat 7.3
PHP version: 4.2.1
PHP Bug Type: Session related
Bug description: Cookies not being set right...
When setting 2 or more cookies after on other, only the last one of those
cookies really get set... ex ->
setcookie("cookie1","cookie1");
setcookie("cookie2","cookie2");
setcookie("cookie3","cookie3"); <- only this one gets set
echo "$_COOKIE["cookie1"] :: $_COOKIE["cookie2"] ::
$_COOKIE["cookie3"]";
would return:
:: :: cookie3
I use Redhat linux 7.3, PHP 4.2.1 and Apache 2.0.36...
--
Edit bug report at http://bugs.php.net/?id=17640&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17640&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17640&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17640&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17640&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17640&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17640&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17640&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17640&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17640&r=globals