> unset($_COOKIE['foo']); > > And also > > $_COOKIE['foo'] = '';
Are you trying to delete the cookie on the client side? if so try: setcookie ('foo', '', time() - 3600); http://us2.php.net/setcookie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php