Splash Code Prob

SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
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
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
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
Close
Appraise.net

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Each character of a domain name in its own box, with how to type one of them
Bookmarks: see bookmarks without a label
You can now show only the bookmarks you have not labeled. Open the label filter in the Bookmarks tab of your account menu, or on your...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back