note 24531 added to function.setcookie
| From: | info at gsmbg dot net | Date: | Tue, 20 Aug 2002 16:51:25 +0000 |
| Subject: | note 24531 added to function.setcookie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-35259@lists.php.net to get a copy of this message | ||
I am using PHP 4.2.2 as Apache 2.0.39 module under WinNT 4.00.1381 SP5.
I encountered the following problem:
I noticed that there is a problem with setting the multiple Cookies
(more than one) with SetCookie function. My script is:
<?php
SetCookie("user","Donalnd");
SetCookie("passw","hello");
?>
The problem is that ONLY 'pass' cookie is set and the first one 'user'
cannot be set.
This is a bug in PHP 4.2.2. To manage with that problem I've installed the new PHP 4.3.0. Now
it works well.
--
http://www.php.net/manual/en/function.setcookie.php
http://master.php.net/manage/user-notes.php?action=edit+24531
http://master.php.net/manage/user-notes.php?action=delete+24531
http://master.php.net/manage/user-notes.php?action=reject+24531