|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-04-24 10:00 UTC] kala at pinerecords dot com
[2002-05-17 07:50 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 01:00:01 2025 UTC |
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. :)