I figured out why my sessions were behaving so oddly.
I was accessing test1.php via:
http://ericgorr.net/...
In test1.php, I was then redirecting to test2.php via
http://www.ericgorr.net/...
Apparently, with Mozilla and Safari, php sessions sees these as two different domains and therefore cannot resume the session since the session IDs are stored under two different domains. (ok, poor wording here...feel free to make it more accurate)
However, with Internet Explorer is apparently a bit more lenient in these matters and I never got a failure.
So, I can change the redirection to:
http://ericgorr.net/...
or I can visited test1.php via:
http://www.ericgorr.net/...
and things will work.
Now, to solve the problem in the general case, it would seem necessary to pass the session id around. However, I am hoping that someone can suggest a better solution.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php