cookies for a different page
Moderator: General Moderators
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.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.