Posted by Joshie Surber on 11/05/64 11:28
While I would first suggest that you design your pages where cookies
aren't required, the simplest way would be to include a small cookie
(hascookies=true, for example) on index.php then send a redirect header
to index2.php (or whatever) that checks for the existence of the
hascookies cookie. Then just design your site around index2.php instead
of index.php.
(if that seems sloppy, you could set the defaultindex in apache to
cookietest.php or something then redirect to index.php)
Hope that works for you.
Navigation:
[Reply to this message]
|