php sessions stop working in firefox but work fine in all my other broswers
php sessions stop working in firefox, I have a very simple $_SESSION[]; and it was working fine for a while then it stopped working. The sessions work fine in all my other browsers including Opera, IE Safari, and Chrome
I have tried a complete uninstall and re-install. this is still a problem after install. Still works fine in other browsers. I have also reboot the computer to make sure something wasn't in memory.
所有回覆 (2)
I've had this problem in the past week. I'm designing a website with sessions, using PHP. On FF, the session id gets lost, and I suspect that it's because the browser is dropping the session_id cookie that gets sent to it, so the session is never recovered (even if it's a named session). If I open Tools-> Options -> Privacy and then click Show Cookies, it's there, but the browser doesn't pick up on it. So the user keeps getting thrown back to the login form.
I did find an error in my code that was making FF not keep the session code. I would have kept looking for an error had ALL the browser lost the session. However the only one that wasn't working the right way for my code was FF which made me think it was FF and not the script. Anyway it is all fixed now. Thanks for the reply.