Hey guys,
We have a cookie on our homepage that basicall tells the visitors browser to go to a splash page for them to input info before going to the actual homepage....but it only shows the first time a visitor goes to the site.
PROBLEM: for some reason the splash page is auto-forwarding to the homepage on what appears to be a "timed" basis...but I can't quite tell. Can you tell us how we can fix it from being timed to be a static page the doesn't go anywhere until the user either submits the form or bypasses the form?
<?
$splash = 'http://www.HOMEPAGE.com/splash/index.htm';
if (!isset($HTTP_COOKIE_VARS["splash"])) {
setcookie("splash", 1, time()+60*60*24*24*12, '/');
header("Location: ".$splash);
exit;
}
?>
Thank you
We have a cookie on our homepage that basicall tells the visitors browser to go to a splash page for them to input info before going to the actual homepage....but it only shows the first time a visitor goes to the site.
PROBLEM: for some reason the splash page is auto-forwarding to the homepage on what appears to be a "timed" basis...but I can't quite tell. Can you tell us how we can fix it from being timed to be a static page the doesn't go anywhere until the user either submits the form or bypasses the form?
<?
$splash = 'http://www.HOMEPAGE.com/splash/index.htm';
if (!isset($HTTP_COOKIE_VARS["splash"])) {
setcookie("splash", 1, time()+60*60*24*24*12, '/');
header("Location: ".$splash);
exit;
}
?>
Thank you




