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.

Search Support

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

Firefox does not log out of Gmail/Facebook when window is closed

  • 1 reply
  • 74 have this problem
  • 2 views
  • Last reply by choibalsan

more options

I have set each page to not 'keep signed in' for both Gmail and Facebook (have not tried others) and yet when I close firefox and re-open, my pages are still fully logged in.

I have taken steps to clear cookies and history, close browser, open browser, log into Gmail and Facebook in new sessions and made sure the options to remain logged in were not selected and then closed the browser only to re-open and have my accounts still open.

Additionally, beyond that I have enabled the clear history when firefox closes option for 'active logins', 'cookies', and 'cache'. Still the sessions persist. This should not be possible. None of the tabs are pinned currently.

A friend, having the same settings (we think) was finding that Facebook sessions would be logged out, but his Gmail session would still be active for his inbox but attempting to reach account settings would require him to log in. In my experience, I was able to get to the account settings page without having to log in.

What is going on? How do we get Firefox to behave like it used to (like it should)?

I have set each page to not 'keep signed in' for both Gmail and Facebook (have not tried others) and yet when I close firefox and re-open, my pages are still fully logged in. I have taken steps to clear cookies and history, close browser, open browser, log into Gmail and Facebook in new sessions and made sure the options to remain logged in were not selected and then closed the browser only to re-open and have my accounts still open. Additionally, beyond that I have enabled the clear history when firefox closes option for 'active logins', 'cookies', and 'cache'. Still the sessions persist. This should not be possible. None of the tabs are pinned currently. A friend, having the same settings (we think) was finding that Facebook sessions would be logged out, but his Gmail session would still be active for his inbox but attempting to reach account settings would require him to log in. In my experience, I was able to get to the account settings page without having to log in. What is going on? How do we get Firefox to behave like it used to (like it should)?

All Replies (1)

more options

To prevent Firefox to (re)store session data you need to go to about:config and set browser.sessionstore.privacy_level to a value of 2

You also might want to change the value of browser.sessionstore.privacy_level_deferred

values: 0: Store extra session data for any site. 1: Store extra session data for unencrypted (non-HTTPS) sites only. 2: Never store extra session data.

http://kb.mozillazine.org/Browser.sessionstore.privacy_level

Modified by choibalsan