Can't seem to get the cookie to disappear by closing my browser or timing out.
Using IE v6
Cookie code:
// encrypt the cookie
$secret = "Silly lil cookie";
$id = "$user_id";
$hash = md5($id . $secret);
// set cookie
$exp["cookielife"] = 14400;
$expire=time()+$exp["cookielife"];
setcookie("id","$id::$hash",$expire,"/","");
I COULD run a query against the stored value of $expire, but I want it to expire on it's own...
...thoughts?