Home › Forums › JavaScript › Redirecting to a Splash Page but Only Once – Cookies › Re: Redirecting to a Splash Page but Only Once – Cookies
January 20, 2010 at 10:51 am
#69690
Chris Coyier
Keymaster
Seems to me it taking that long because it needs to load jquery, load the cookie plugin, execute the code and all that, which page rendering doesn’t wait around for. If you wanted to to happen before any page loaded at all, you’d have to skip doing this with JavaScript and look into doing it with just PHP alone. Should be too touch, just research how to set and read cookies, and how to redirect a page with PHP.