I have a cookie that is set by xxx.com. I would like a php script running in me.com to remove a particular cookie set by xxx.com.
This is the code that I am using to remove that cookie:
$test=setcookie('COOKIENAME','',0,'/','.xxx.com');
$test returns true, but the browser (FireFox) does not show the cookie as having been removed.
I have tried setting the expiration time of the cookie to some time in the past, still no go.
As far as i can tell, i have the parameters correst based on looking at the details of the cookie by looking at FireFox's cookie display options.
Am I doing something wrong, or is it just not possible for me to remove this cookie from within my domain.