搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

php sessions stop working in firefox but work fine in all my other broswers

  • 2 回覆
  • 19 有這個問題
  • 3 次檢視
  • 最近回覆由 beardavid

more options

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.

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)

more options

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.

more options

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.