note 46352 deleted from function.setcookie by aidan

From: Date: Fri, 08 Oct 2004 07:28:48 +0000
Subject: note 46352 deleted from function.setcookie by aidan
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-78173@lists.php.net to get a copy of this message
Note Submitter: joshrendek at cfl dot rr dot com ---- For header('Set-Cookie: note... make sure, if your setting more than one cookie, that you do it in the same line... such as: <? header('Set-Cookie: password='.$password.'; Max-Age=36000; Set-Cookie: user='.$user.'; Max-Age=36000;'); ?> Or else it will only take the 2nd header's cookie... wasted quite a bit of time trying to figure this out

« previous php.notes (#78173) next »