Certify and Increase Opportunity.
Be
Govt. Certified PHP-Developer

Expiring Cookies

/* Remove Cookies */
<?PHP
// set the expiration date to one hour ago
SETCOOKIE (“TestCookie”, “”, TIME() – 3600);
SETCOOKIE (“TestCookie”, “”, TIME() – 3600, “/~rasmus/”, “.utoronto.ca”, 1);
?>

To remove a cookie happens simply by resetting the cookie. Instead of setting the cookie the value for time will be put to minus value for the previous plus value.