I have this code that setted when login check is fine:
if((isset($_POST[\"remember_me\"]))&&($_POST[\"remember_me\"]==1))
{
setcookie(\'email
In Chrome and IE8+ at least, the following will remove the cookie from the browser. It will not be reflected in the $_COOKIE array until the page is reloaded however.
setcookie('cookiename','',0,'/',$cookieDomain)
you may be able to leave off a few parameters here, but the important thing is you are setting an empty string, and that removes the cookie from the browser.