note 24531 rejected from function.setcookie by jmcastagnetto

From: Date: Tue, 20 Aug 2002 22:50:06 +0000
Subject: note 24531 rejected from function.setcookie by jmcastagnetto
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-35277@lists.php.net to get a copy of this message
I am using PHP 4.2.2 as Apache 2.0.39 module under WinNT 4.00.1381 SP5. I encountered the following problem: I noticed that there is a problem with setting the multiple Cookies (more than one) with SetCookie function. My script is: <?php SetCookie("user","Donalnd"); SetCookie("passw","hello"); ?> The problem is that ONLY 'pass' cookie is set and the first one 'user' cannot be set. This is a bug in PHP 4.2.2. To manage with that problem I've installed the new PHP 4.3.0. Now it works well.

« previous php.notes (#35277) next »