Page 2 of 2
Posted: Fri Sep 30, 2005 4:47 pm
by Burrito
I'd guess you're cookie is not being set, especially since print_r'ing the array didn't return anything....
Posted: Fri Sep 30, 2005 4:50 pm
by pickle
If you're calling print_r($_COOKIE) right at the beginning of the script that's deleting (and ~burrito's right - you can only backdate the expiration date) the cookie, then chances are good that you're not even setting it in the first place. I'd suggest setting the cookie in your first page, then load up a plain page that just outputs cookies. If the cookie still doesn't show up, then you're having problems setting your cookie.