I am able to set a plain old cookie like this:
$cookie = new HttpCookie('myCookie', 'myValue');
I am trying to delete it like this:
$cookie = new HttpCookie('myCookie', '');
craft()->request->getCookies()->add($cookie->name, $cookie);
When I make a call to check the cookie, I get this returned:
{"name":"myCookie","value":"","domain":"","expire":0,"path":"\/","secure":false,"httpOnly":true}
I can see that the value is getting cleared, but is there any way to just totally wipe out the cooke?