--- Ryan A <[EMAIL PROTECTED]> wrote: > I am setting 2 cookies like so:(setCookie.php) ... > setcookie("name1","1","0","",".bestwebhosters.com"); > setcookie("name2","1","0","",".bestwebhosters.com"); ... > then I am trying to delete the second cookie like so:(delCookie.php) ... > setcookie("name2","1","-3600","",".bestwebhosters.com"); ... > <a href=http://bestwebhosters.com/testing/ReadCookieEx.php>Read</a> > > When I check ReadCookie it shows me that both hav been deleted....why?
Don't delete the cookie, and you'll still find that both are "deleted". The truth is that neither would be deleted, but they will only be sent to domains within .bestwebhosters.com, which http://bestwebhosters.com is not. Hope that helps. Chris ===== Become a better Web developer with the HTTP Developer's Handbook http://httphandbook.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php