mrhalloran
01-31-2002, 01:01 PM
How do you make a cookie expire?
Someone on the board suggested this once:
setcookie("Uname");
but it doesn't seem to work. Is there a better command? Can I just set an expiration date in the past or something like that? I want a sure fire way so that:
if (isset($Uname)) {
will return false.
Thanks,
Mark
Someone on the board suggested this once:
setcookie("Uname");
but it doesn't seem to work. Is there a better command? Can I just set an expiration date in the past or something like that? I want a sure fire way so that:
if (isset($Uname)) {
will return false.
Thanks,
Mark