Forum Moderators: coopster
But in either case, there are two types of cookies: session cookies and persistent cookies. Don't confuse this with PHP sessions, they are two different things.
Session cookies are set without the "expires" parameter, so they die when the browser closes. For this reason it sounds like you are setting a persistent cookie with an expiration date. To kill it, just re-set the same-named cookie with a past date, which makes it expire.