@user123456789
> Cookies must be deleted with the same parameters as they were set with. If the value argument is an empty string, or FALSE, and all other arguments match a previous call to setcookie, then the cookie with the specified name will be deleted from the remote client. This is internally achieved by setting value to 'deleted' and expiration time to one year in past.
(See **Common Pitfalls** under setcookie documentation)[http://php.net/setcookie#refsect1-function.setcookie-notes]