PHP Session Problem in FF [solved]
Posted: Mon Oct 19, 2009 10:06 pm
First time ever, in maybe 2 dozen websites, that FF has had a problem that IE hasn't (I'll bet it's because I'm breaking some rules I don't know about, and IE isn't catching me though...).
I've got 3 websites, all for 1 client. Each site, on a user's first visit, goes to a website selection page. It shows all 3 options, and they choose one. I've tried to synchronize session, etc, but only to get frustrated (all 3 are in the same account on the same server). I've got to this point, which works in IE but not in FF:
At the top of the main page of one of the websites, located at http://ecocity.net.au (please visit it and try it yourself):
If the user hasn't seen that page before, the session variable is not set, and they are taken to that page which shows the 3 websites (currently 'City Chicks' is the one I'm working on/having this issue with). Now, when they go back to http://ecocity.net.au by clicking on the left icon, they should see the normal page and not be redirected, because the session variable is set. In IE, that is what happens. In FF, I have to click the icon twice (go to http://ecocity.net.au twice) before I see the normal ecocity.net.au webpage.
Any ideas?! I'm also open to suggestions on other ways to accomplish this same result. Thanks.
I've got 3 websites, all for 1 client. Each site, on a user's first visit, goes to a website selection page. It shows all 3 options, and they choose one. I've tried to synchronize session, etc, but only to get frustrated (all 3 are in the same account on the same server). I've got to this point, which works in IE but not in FF:
At the top of the main page of one of the websites, located at http://ecocity.net.au (please visit it and try it yourself):
Code: Select all
session_start();
if(!isset($_SESSION["checkedin"]))
{
$_SESSION["checkedin"] = "1";
header("Location: http://ecocityliving.com.au/select/");
exit;
}
Any ideas?! I'm also open to suggestions on other ways to accomplish this same result. Thanks.