I'm trying to set the cookie, but it doesn't seem to work.
if ($_COOKIE["mtFlash"] != "hide") {
echo 'content';
$value = 'hide';
setcookie("mtFlash", $value, time()+3); /* expire in 1 hour */
}
I've attempted to echo it to see if it's been set, but alas, can not see any
echo $_COOKIE["mtFlash"].'1';
echo $HTTP_COOKIE_VARS["mtFlash"].'2';