NameSilo

Splash Code Prob

Spaceship Spaceship
Watch

Zoosushi

Established Member
Impact
0
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 :)
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable DomainsUnstoppable Domains
Can you list the site? Seeing it would probably be helpful in telling you how to fix it.

It may have something to do with whats happening on the client side portion of the page.
 
0
•••

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Live Options
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back