I'm having a small amount of problem with cookies in PHP... mainly how to delete them.
In the PHP docs it says to just setcookie("cookiename"); to remove the cookie, or alternatively reset the cookie with a date in the past, so the browser knows to expire and remove it.
However, in my case this doesn't seem to be working, it just comes back with a cookie of the same name but with a value of "deleted".
Any help? :-)
In the PHP docs it says to just setcookie("cookiename"); to remove the cookie, or alternatively reset the cookie with a date in the past, so the browser knows to expire and remove it.
However, in my case this doesn't seem to be working, it just comes back with a cookie of the same name but with a value of "deleted".
Any help? :-)
