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

change in logging in/out status

  • 4 replies
  • 1 has this problem
  • 6 views
  • Last reply by cor-el

more options

Since forever, when I close a FF tab or window, I remain logged into sites (except when I log out myself) Recently (?the latest update?), I'm logged out of every site every time. Very time consuming! Is there a solution?

Michael

Since forever, when I close a FF tab or window, I remain logged into sites (except when I log out myself) Recently (?the latest update?), I'm logged out of every site every time. Very time consuming! Is there a solution? Michael

Chosen solution

Hi Michael, sites recognize you as having logged in when your browser sends back the cookie they set back at the time of login. If the cookie is gone, you're a nobody to them and you need to log in again.

There are quite a few possible reasons to lose cookies between sessions. These include Firefox privacy settings, add-ons, and external cleaners. Let's check:

Options page > Privacy & Security panel

(1) Cookies and Site Data section

The checkbox here for "Delete cookies and site data when Firefox is closed" determines whether cookies are set to expire automatically at the end of your Firefox session:

  • Unchecked => Firefox sets the expiration based on what the site requested
  • Checked => Firefox sets the expiration to "Session only" -- so cookies won't survive the shutdown/restart

The "Manage Permissions" dialog is where you would list sites that are an exception to your standard rule. For example, if you force all cookies to session but you want to stay logged in on certain sites, you could add those sites here with an "Allow" exception.

(2) History section

The main selector here has three options:

  • Firefox will: Remember history => cookies should not get cleared automatically
  • Firefox will: Never remember history => forces automatic private browsing, so cookies are stored only in memory for the duration of your session
  • Firefox will: Use custom settings for history => it depends...

If you use custom settings:

  • "Always use private browsing mode" => if checked, cookies are stored only in memory for the duration of your session
  • "Clear history when Firefox closes" => if checked, cookies may be removed depending on what is selected in the "Settings" dialog to the right of this option (this option does NOT honor exceptions)

Add-ons

Several add-ons directly edit/remove cookies. You can view, disable, and often remove unwanted or unknown extensions on the Add-ons page. Either:

  • Ctrl+Shift+a (Mac: Command+Shift+a)
  • "3-bar" menu button (or Tools menu) > Add-ons
  • type or paste about:addons in the address bar and press Enter/Return

In the left column of the Add-ons page, click Extensions. On the right side, find the "Manage Your Extensions" heading.

If there is at least one extension before the next heading -- "Recommended Extensions" -- please continue:

Then cast a critical eye over the list below that heading. Any extensions Firefox installs for built-in features are hidden from this page, so everything listed here is your choice (and your responsibility) to manage. Anything possibly related to cookies here?

Cleaners

Programs like CCleaner and Advanced System Care may remove browser data at system startup or even between Firefox sessions without a startup.

Read this answer in context 👍 1

All Replies (4)

more options

newmarket2 zei

Since forever, when I close a FF tab or window, I remain logged into sites (except when I log out myself) Recently (?the latest update?), I'm logged out of every site every time. Very time consuming! Is there a solution? Michael

Logged into or logged onto sites maybe not you are not logged out or logged off at all Let me know if it keeps happening, it may just be a temporarerly problem

more options

Chosen Solution

Hi Michael, sites recognize you as having logged in when your browser sends back the cookie they set back at the time of login. If the cookie is gone, you're a nobody to them and you need to log in again.

There are quite a few possible reasons to lose cookies between sessions. These include Firefox privacy settings, add-ons, and external cleaners. Let's check:

Options page > Privacy & Security panel

(1) Cookies and Site Data section

The checkbox here for "Delete cookies and site data when Firefox is closed" determines whether cookies are set to expire automatically at the end of your Firefox session:

  • Unchecked => Firefox sets the expiration based on what the site requested
  • Checked => Firefox sets the expiration to "Session only" -- so cookies won't survive the shutdown/restart

The "Manage Permissions" dialog is where you would list sites that are an exception to your standard rule. For example, if you force all cookies to session but you want to stay logged in on certain sites, you could add those sites here with an "Allow" exception.

(2) History section

The main selector here has three options:

  • Firefox will: Remember history => cookies should not get cleared automatically
  • Firefox will: Never remember history => forces automatic private browsing, so cookies are stored only in memory for the duration of your session
  • Firefox will: Use custom settings for history => it depends...

If you use custom settings:

  • "Always use private browsing mode" => if checked, cookies are stored only in memory for the duration of your session
  • "Clear history when Firefox closes" => if checked, cookies may be removed depending on what is selected in the "Settings" dialog to the right of this option (this option does NOT honor exceptions)

Add-ons

Several add-ons directly edit/remove cookies. You can view, disable, and often remove unwanted or unknown extensions on the Add-ons page. Either:

  • Ctrl+Shift+a (Mac: Command+Shift+a)
  • "3-bar" menu button (or Tools menu) > Add-ons
  • type or paste about:addons in the address bar and press Enter/Return

In the left column of the Add-ons page, click Extensions. On the right side, find the "Manage Your Extensions" heading.

If there is at least one extension before the next heading -- "Recommended Extensions" -- please continue:

Then cast a critical eye over the list below that heading. Any extensions Firefox installs for built-in features are hidden from this page, so everything listed here is your choice (and your responsibility) to manage. Anything possibly related to cookies here?

Cleaners

Programs like CCleaner and Advanced System Care may remove browser data at system startup or even between Firefox sessions without a startup.

more options

jsher2000, Looks like "Delete cookies and site data...." got clicked (I didn't do it! At least not intentionally...) Haven't fully tested to make sure that's all it was, but for now I'll mark it SOLVED And, thank you!

more options

Note that you can create a cookie allow exception to keep important cookies if you use "Delete cookies and site data when Firefox is closed".


You can use these steps to make a website recognize and remember you.

  • create a cookie allow exception with the proper protocol (https:// or http://) to make a website remember you

You can check that you aren't clearing important cookies.

  • using "Delete cookies and site data when Firefox is closed" keeps cookies with an allow exception
  • using "Clear history when Firefox closes" to clear cookies clears all cookies including cookies with an allow exception you may want to keep
  • clearing "Site Preferences" clears exceptions for cookies, images, pop-up windows, and software installation and exceptions for passwords and other website specific data
  • Options/Preferences -> Privacy & Security
    Cookies and Site Data: "Manage Exceptions/Permissions"