Hi there.
Wondering if anyone has thoughts about how I might solve this problem:
I've got two versions of an index page - one for regular visitors and another for members, who are authenticated by an .htaccess file. When a member logs in, he goes to the members index page. But then, though the course of navigating through the site, it's likely he may end up back at the regular index page.
Is there a way I can set a cookie - with either javascript or PHP preferably - so that once someone logs in, for the next 3 hours (or whatever), anytime they visit the regular index they're automatically redirected to the members index?
Maybe a cookie isn't the way to do this, but it's all I can think of.
Thanks in advance for any advice or assistance.
Adam
Fractured Atlas :: Liberate the Artist
Services: Healthcare, Fiscal Sponsorship, Marketing, Education, The Emerging Artists Fund
Wondering if anyone has thoughts about how I might solve this problem:
I've got two versions of an index page - one for regular visitors and another for members, who are authenticated by an .htaccess file. When a member logs in, he goes to the members index page. But then, though the course of navigating through the site, it's likely he may end up back at the regular index page.
Is there a way I can set a cookie - with either javascript or PHP preferably - so that once someone logs in, for the next 3 hours (or whatever), anytime they visit the regular index they're automatically redirected to the members index?
Maybe a cookie isn't the way to do this, but it's all I can think of.
Thanks in advance for any advice or assistance.
Adam
Fractured Atlas :: Liberate the Artist
Services: Healthcare, Fiscal Sponsorship, Marketing, Education, The Emerging Artists Fund