Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 2 (ردّان اثنان)
  • 19 have this problem
  • 1 view
  • آخر ردّ كتبه 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.

All Replies (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.