Is there any way of instructing a web browser to completely delete one\'s cookie set with PHP?
I do not want to expiry it or wait for the brows
Try something like this to delete all cookies:
foreach ($_COOKIE as $name => $value) { setcookie($name, '', 1); }
The value 1 is the expire value and it represents one second after the begin of the Unix time epoch. So it’s always already expired.
1