--- Michael Purdy <[EMAIL PROTECTED]> wrote: > <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.
This seems unlikely. It's possible that neither of these statements is successful (perhaps your script has output prior), and the only reason you think the first one is being set is because it was set from a previous test. You can rule this out by using unique names for every single test, and use something like print_r($_COOKIES) to see exactly what cookies the browser included in its request for the page. Hope that helps. Chris ===== Chris Shiflett - http://shiflett.org/ PHP Security - O'Reilly Coming Fall 2004 HTTP Developer's Handbook - Sams http://httphandbook.org/ PHP Community Site http://phpcommunity.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php