Cookie behaviour
| From: | Michael Purdy | Date: | Mon, 23 Aug 2004 08:12:43 +0000 |
| Subject: | Cookie behaviour | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-194454@lists.php.net to get a copy of this message | ||
Folks
I am running php 5.0.1 on NT.
I have a small test script as shown below
<script language="php">
setcookie('cat','large',time()+3600);
setcookie('dog','small',time()+3600);
</script>
The outcome of this script is that only the LAST cookie is successfully stored.despite having a
different
name. Is this because they are both being set from within the same script and therefore conflicting
with
each other?
Mike