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

Why do I stay logged into Gmail even though browser.sessionstore.privacy_level is set to 1?

  • 7 odgovori
  • 18 ima ovaj problem
  • 19 views
  • Posljednji odgovor poslao cor-el

more options

When I close my browser I expect not to still be logged in to secure sites (e.g. Gmail) when I reopen it. I know FF stopped this behaviour by default in FF4, so I have set browser.sessionstore.privacy_level to 1 which I believe should enforce this behaviour. However of late Gmail is still logged in when I reopen FF even after a complete shutdown of the computer for a day or so.

I've checked the browser.sessionstore.privacy_level setting and it's still set to 1.

This is definitely happening in in FF 25.0.1 on Ubuntu 13.10. I think it's also happening on my Windows (XP and 7) machines, but don't have them to hand to check.

Any ideas what else I should check?

When I close my browser I expect not to still be logged in to secure sites (e.g. Gmail) when I reopen it. I know FF stopped this behaviour by default in FF4, so I have set browser.sessionstore.privacy_level to 1 which I believe should enforce this behaviour. However of late Gmail is still logged in when I reopen FF even after a complete shutdown of the computer for a day or so. I've checked the browser.sessionstore.privacy_level setting and it's still set to 1. This is definitely happening in in FF 25.0.1 on Ubuntu 13.10. I think it's also happening on my Windows (XP and 7) machines, but don't have them to hand to check. Any ideas what else I should check?

All Replies (7)

more options

Hello Brimfulof,

if you dont want to stay logged in just turn off your history. You can turn it off by pressing Settings > privacy > do not save my history

Do not hesitate to contact us further.

more options

Unless you log out of a web site, you will remain logged in. Instead of just closing the browser, log out of the sites first.

more options

It appears this is the expected behaviour.

If you allow Firefox to reopen the tabs from last time and one of the https sites was open then regardless of the setting of browser.sessionstore.privacy_level the tab will reopen.

However IF you actually close the tab before closing down Firefox; and then if you re open Firefox and afterwards reopen a HTTPS tab that was open in the prior session then the setting of browser.sessionstore.privacy_level to 1 should have the effect you anticipated i.e you will need to login again.

This issue was discussed previously see

  • firefox is remembering passwords i tell it not to. browser reopens after computer restart and i can still login. it's really annoying.
    /questions/961175
more options

Does setting the browser.sessionstore.privacy_level pref to 2 has the desired effect?

Did you delete all Google cookies after making this change?

What are the cookies settings for Google regarding when they expire and possible allow exceptions (about:permissions and Tools > Page Info > Permissions)?

more options

browser.sessionstore.privacy_level 2 does not work. People, please read before answering. Also, deleting the entire history every time is a hassle and rather unprofessional. Even if done automatically you remove functions from your trusty browser.

This issue was annoying me a lot. But there is one solution that worked for me: click your way in FF through tools>options>privacy

Under History there is a box "clear when FF closes" and a button to specify settings. Click that.

In the window click on: cookies, cache and active log-ins for auto-delete, when logged out.

If your system runs like mine this will do the trick until they Mozilla screws up the privacy again. Good luck!

more options

I think there is some confusion about how Google's cookies work and what browser.sessionstore.privacy_level does.

You can allow Google to set two different kinds of cookies:

(1) Persistent cookies ("Keep until: they expire")

These expire on a future date. These cookies are not at all affected by the session restore settings.

(2) Session cookies ("Keep until: I close Firefox")

These cookies expire from the cookie database when you exit Firefox but may be restored if you restore your previous session.

With the default setting of browser.sessionstore.privacy_level=0, these session cookies are kept in your previous session data so that you can return to your prior Google session without logging in again.

With browser.sessionstore.privacy_level=1, session cookies from secure sites are NOT kept in your previous session data. When you restore the Google tab, you should be logged out in that tab (for example, you may get the login screen instead of your inbox).


Rather than flush all your cookies at shutdown, another approach is to set your cookies to be session cookies by default, and then make exceptions for sites where you want to stay logged in from session to session (e.g., forums or other sites that aren't sensitive).

The general setting is on the Privacy tab of the Options/Preferences dialog. Enhanced Tracking Protection in Firefox for desktop.

To set site-specific exceptions, you can use the Exceptions button on the Privacy tab, or use the Page Info dialog while viewing a page on the site. Either:

  • right-click and choose View Page Info > Permissions
  • Tools menu > Page Info > Permissions
  • right the padlock icon in the address bar > More Information > Permissions
more options

The browser.sessionstore.privacy_level pref applies to storing cookies as part of session data in the sessionstore.js file, so all session data is in one place.
If cookies are stored in sessionstore.js then they will always be restored when tabs are reopened on the next start and you wont get logged off if you leave tabs open when you close Firefox.
It is best to log off and close tabs if you do not want to stay logged in.

Izmjenjeno od strane cor-el