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

Natao arisiva ity resaka mitohy ity. Mametraha fanontaniana azafady raha mila fanampiana.

automatic logout of google and microsoft

more options

Somewhere, I clicked a box and I deeply regret it. Every since then every time I turn the computer off or it goes to sleep I have to login to Google and Microsoft apps. Logging in to the computer is fine, but any time I use google search I have to log into my google account. All day long I'm logging into my google account. the same with online microsoft apps; onedrive, word, onenote, etc. I used to have to log in to these things only after turning the computer off. Now it's a constant state of affairs. Help.

Somewhere, I clicked a box and I deeply regret it. Every since then every time I turn the computer off or it goes to sleep I have to login to Google and Microsoft apps. Logging in to the computer is fine, but any time I use google search I have to log into my google account. All day long I'm logging into my google account. the same with online microsoft apps; onedrive, word, onenote, etc. I used to have to log in to these things only after turning the computer off. Now it's a constant state of affairs. Help.

Vahaolana nofidina

The way sites recognize that you are logged in is through cookies they set in your browser. If the cookies are cleared for some reason, then you'll need to log in again.

What's the timing of the problem? If it occurs when exiting out of Firefox (closing the last window) and starting it up again, here are some things to check:

How could the cookie be cleared?

(1) If you are visiting the site in a private window

Cookies are not written to disk in private windows, so whether they are session cookies or have an expiration date after we're all gone, they will evaporate when the last private window is closed in your session.

The two ways a site could open in a private window are:

(A) Creating a private window in a regular session (for example, Command+Shift+p or right-click > Open Link in New Private Window)

(B) Setting Firefox to use automatic private browsing on the Preferences page --

  • Windows: "3-bar" menu button (or Tools menu) > Options
  • Mac: "3-bar" menu button (or Firefox menu) > Preferences
  • Linux: "3-bar" menu button (or Edit menu) > Preferences
  • Any system: type or paste about:preferences into the address bar and press Enter/Return to load it

In the left column, click Privacy & Security, then scroll down to the History section. Either of these will invoke automatic private browsing:

  • Firefox will: Never remember history
  • Firefox will: Use custom settings for history + "Always use private browsing mode"

(2) If Firefox is set to store ONLY session cookies, and you have not made an exception for the site.

You can check for this on the Options/Preferences page, Privacy & Security panel, Cookies section. Make sure you do NOT have a checkmark for "Delete cookies and site data when Firefox is closed". If you do, you need to create "Allow" exceptions for sites where you want Firefox to accept persistent cookies.

(3) If Firefox is set to Clear History When it Closes and that includes Cookies

Most people do not have this setting, but you can double-check here: On the Options/Preferences page, Privacy & Security panel, History section: make sure you do NOT have a checkmark for "Clear history when Firefox closes". If you want to use that feature with some types of data, use the Settings button to the right of it to confirm that Cookies are not being cleared.

(4) If you use an add-on that modifies how cookies work

There are extensions to manage cookie lifetimes and removal, including some that expire cookies for inactive tabs. There also are extensions that isolate pages in a container, which creates a separate cookie jar for the pages in that container which are invisible to pages outside that container.

(5) If external utility or privacy software cleans browser cookies

If you use CCleaner, Advanced SystemCare or other third party programs that touch browser data, set them not to touch Firefox data.

Does any of that seem relevant?

Hamaky an'ity valiny ity @ sehatra 👍 0

All Replies (1)

more options

Vahaolana Nofidina

The way sites recognize that you are logged in is through cookies they set in your browser. If the cookies are cleared for some reason, then you'll need to log in again.

What's the timing of the problem? If it occurs when exiting out of Firefox (closing the last window) and starting it up again, here are some things to check:

How could the cookie be cleared?

(1) If you are visiting the site in a private window

Cookies are not written to disk in private windows, so whether they are session cookies or have an expiration date after we're all gone, they will evaporate when the last private window is closed in your session.

The two ways a site could open in a private window are:

(A) Creating a private window in a regular session (for example, Command+Shift+p or right-click > Open Link in New Private Window)

(B) Setting Firefox to use automatic private browsing on the Preferences page --

  • Windows: "3-bar" menu button (or Tools menu) > Options
  • Mac: "3-bar" menu button (or Firefox menu) > Preferences
  • Linux: "3-bar" menu button (or Edit menu) > Preferences
  • Any system: type or paste about:preferences into the address bar and press Enter/Return to load it

In the left column, click Privacy & Security, then scroll down to the History section. Either of these will invoke automatic private browsing:

  • Firefox will: Never remember history
  • Firefox will: Use custom settings for history + "Always use private browsing mode"

(2) If Firefox is set to store ONLY session cookies, and you have not made an exception for the site.

You can check for this on the Options/Preferences page, Privacy & Security panel, Cookies section. Make sure you do NOT have a checkmark for "Delete cookies and site data when Firefox is closed". If you do, you need to create "Allow" exceptions for sites where you want Firefox to accept persistent cookies.

(3) If Firefox is set to Clear History When it Closes and that includes Cookies

Most people do not have this setting, but you can double-check here: On the Options/Preferences page, Privacy & Security panel, History section: make sure you do NOT have a checkmark for "Clear history when Firefox closes". If you want to use that feature with some types of data, use the Settings button to the right of it to confirm that Cookies are not being cleared.

(4) If you use an add-on that modifies how cookies work

There are extensions to manage cookie lifetimes and removal, including some that expire cookies for inactive tabs. There also are extensions that isolate pages in a container, which creates a separate cookie jar for the pages in that container which are invisible to pages outside that container.

(5) If external utility or privacy software cleans browser cookies

If you use CCleaner, Advanced SystemCare or other third party programs that touch browser data, set them not to touch Firefox data.

Does any of that seem relevant?