Bug #18168 Updated: setcookie() only sets last call
| From: | sniper@php.net | Date: | Thu, 04 Jul 2002 18:51:21 +0000 |
| Subject: | Bug #18168 Updated: setcookie() only sets last call | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-13136@lists.php.net to get a copy of this message | ||
ID: 18168
Updated by: sniper@php.net
Reported By: robschiffman@imaginaworld.com
-Status: Open
+Status: Feedback
Bug Type: Apache2 related
Operating System: Windows 2000 Server
PHP Version: 4CVS-2002-07-04
New Comment:
Exactly what version of PHP you have? (look that in phpinfo() output)
And apache2?
Previous Comments:
------------------------------------------------------------------------
[2002-07-04 14:20:04] robschiffman@imaginaworld.com
Calling setcookie multiple times only sets the last cookie "second".
setcookie.php:
<?
setcookie("first","1");
setcookie("second","2");
?>
show results:
use javascript:alert(document.cookie); in URL to verify.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18168&edit=1