ID: 16793 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Duplicate +Status: Closed Bug Type: Apache2 related Operating System: Linux 2.4 PHP Version: 4.0CVS-2002-04-2 New Comment:
This bug has been fixed in CVS. You can grab a snapshot of the CVS version at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2002-04-24 10:00:22] [EMAIL PROTECTED] Hmm.. apparently a dup. of 16626. ------------------------------------------------------------------------ [2002-04-24 09:18:09] [EMAIL PROTECTED] Trying to set several cookies in a row using, say, $ts = time(); setcookie("dsession", $ckey, $ts + 315360000); setcookie("dlogin", $username, $ts + 315360000); setcookie("dlang", $slang, $ts + 315360000); results in only the last cookie being actually sent by Apache 2.0.35. This becomes obvious if one switches the order of the setcookie() calls and traces the HTTP communication with 'lynx -trace'. Happy debugging. :) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16793&edit=1