Bug #16793 Updated: setcookie() broken

From: Date: Wed, 24 Apr 2002 14:00:23 +0000
Subject: Bug #16793 Updated: setcookie() broken
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-5825@lists.php.net to get a copy of this message
ID: 16793 Updated by: kala@pinerecords.com Reported By: kala@pinerecords.com -Status: Open +Status: Duplicate Bug Type: Apache2 related Operating System: Linux 2.4 -PHP Version: 4.0CVS-2002-04-24 +PHP Version: 4.0CVS-2002-04-2 New Comment: Hmm.. apparently a dup. of 16626. Previous Comments: ------------------------------------------------------------------------ [2002-04-24 09:18:09] kala@pinerecords.com 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

« previous php.bugs (#5825) next »