I've got a severe cookie problem!
I've got a logout button that is MEANT to delete some cookies, and it used to just fine, but now my cookies are set like this...
setcookie ('usercookie', "$username", time()+2419200, '/'); (28 days)
the only change being the time, well, my logout button does this...
setcookie ('usercookie');
nice and simple, should work, but it wasn't working, I've got a little page that shows all the cookies you have set on my site, so I changed the code to set a different cookie, KNOWING it would overwrite it...
setcookie ('usercookie', "NoName", time()+100, '/');
When I visit my cookie page now, I get this...
usercookie=James;
usercookie=NoName;
Correct me if I'm wrong, but thats impossible!
Any help on how to delete the invincible cookies would be much welcomed!