dotjoon — 2013-05-06T19:04:14-04:00 — #1
setcookie($cookieName, $cookieValue, 0, "/", " .$myDomain");
How can I delete the cookie which is set by the code above?
prince55l — 2013-05-06T20:22:51-04:00 — #2
Setting its expiration to some time in the past should clear it:
starlion — 2013-05-08T09:56:03-04:00 — #3
Also note that this will only clear the cookie for the NEXT pageload. You may also want to clear out the $_COOKIE array if you want to get rid of information from the current pageload.