One way to remove a cookie
This simply sets the expiration date to one second ago. As soon as that happens, the cookie should be removed by browsers.
<?php
setcookie("cookie_name","cookie value",time()-1);
?>
setcookie("cookie_name","cookie value",time()-1);
?>
[Click to add or edit comments])
Please prepend comments below including a date