Why does Firefox keep logging me out of the browser every time I exit? 的最新解答https://support.mozilla.org/zh-TW/questions/13767202022-09-22T08:47:13-07:00Hi Steve2526
The "Delete cookies and site data when Firefox is closed" settings doesn't matter that 2022-09-22T08:47:13-07:00cor-elhttps://support.mozilla.org/zh-TW/questions/1376720#answer-1535740<p>Hi Steve2526
</p><p>The "Delete cookies and site data when Firefox is closed" settings doesn't matter that much, what matters are the settings for "Clear history when Firefox closes".
</p><p>Using "Clear history when Firefox closes" in Firefox 102+ honors exceptions and keeps cookies with an allow exception, previous versions removed all cookies
Make sure to keep the "Site settings".
</p>
<ul><li>clearing "Site settings" clears exceptions for cookies, images, pop-up windows, and software installation and exceptions for passwords and other website specific data
</li></ul>
<ul><li>Settings -&gt; Privacy &amp; Security<br>Cookies and Site Data: "Manage Exceptions"
</li><li>Settings -&gt; Privacy &amp; Security<br>Firefox will: "Use custom settings for history":<br>[X] "Clear history when Firefox closes" -&gt; Settings
</li></ul>Steve2526 said
I have a problem with Firefox on my Lenovo Yoga 12 laptop using Win 10 Pro.
I use it2022-09-22T08:25:33-07:00jscher2000https://support.mozilla.org/zh-TW/questions/1376720#answer-1535736<em><p>Steve2526 <a href="#answer-1535706" rel="nofollow">said</a></p></em>
<blockquote>I have a problem with Firefox on my Lenovo Yoga 12 laptop using Win 10 Pro.
I use it a work and every time I boot up and open websites I have to log in. Some websites don't recognize the laptop and I have to go through the security procedures.
The delete cookies and site data button is not checked. The settings have been the same for some time but this issue has been happening for a couple of months.
I do not have the same problem with Firefox on my desktop also using Win 10 Pro.
</blockquote>
<p>Hi Steve, can you start a new question?
</p><p><a href="https://support.mozilla.org/questions/new/desktop/form" rel="nofollow">https://support.mozilla.org/questions/new/desktop/form</a>
</p><p>If you also could mention: is the problem only when you do a Windows restart/reboot, or do you lose cookies whenever you exit and restart Firefox without restarting the system?
</p>I have a problem with Firefox on my Lenovo Yoga 12 laptop using Win 10 Pro.
I use it a work and ever2022-09-22T06:21:07-07:00Steve2526https://support.mozilla.org/zh-TW/questions/1376720#answer-1535706<p>I have a problem with Firefox on my Lenovo Yoga 12 laptop using Win 10 Pro.
</p><p>I use it a work and every time I boot up and open websites I have to log in. Some websites don't recognize the laptop and I have to go through the security procedures.
</p><p>The delete cookies and site data button is not checked. The settings have been the same for some time but this issue has been happening for a couple of months.
</p><p>I do not have the same problem with Firefox on my desktop also using Win 10 Pro.
</p>cor-el said
Firefox uses the Password Manager to store the credentials of the Firefox Sync account (2022-05-11T06:44:08-07:00paulneocubehttps://support.mozilla.org/zh-TW/questions/1376720#answer-1504302<em><p>cor-el <a href="#answer-1504229" rel="nofollow">said</a></p></em>
<blockquote>Firefox uses the Password Manager to store the credentials of the Firefox Sync account (chrome://FirefoxAccounts) to make it possible to connect to Sync each time you start Firefox without the need to enter email and password.
This chrome://FirefoxAccounts entry is hidden from about:logins and is only visible if you check logins.json.
If you do not allow Firefox to store this data then you will have to login each time you start Firefox.
<hr>
<p>For a website to recognize and remember you, you can use these steps.
</p>
<ul><li>create a cookie allow exception with the proper protocol (https:// or http://) to make a website remember you
</li></ul>
<p>You can check that you aren't clearing important cookies.
</p>
<ul><li>using "Delete cookies and site data when Firefox is closed" keeps cookies with an allow exception
</li><li>using "Clear history when Firefox closes" to clear cookies clears all cookies including cookies with an allow exception you may want to keep
</li><li>clearing "Site Preferences" clears exceptions for cookies, images, pop-up windows, and software installation and exceptions for passwords and other website specific data
</li></ul>
<ul><li>Settings -&gt; Privacy &amp; Security<br>Cookies and Site Data: "Manage Exceptions"
</li><li>Settings -&gt; Privacy &amp; Security<br>Firefox will: "Use custom settings for history":<br>[X] "Clear history when Firefox closes" -&gt; Settings
</li></ul>
</blockquote>
<p>So, I understand what both of you are saying but please explain how my settings are the same now as they almost always have been (and I verified that more than once since this started), yet only now started having this issue? Did something change with the way the browser deals with this? It would completely make sense if I had changed a setting or ten, but everything is the same.
</p><p>This is what comes up... (see below)
</p>Firefox uses the Password Manager to store the credentials of the Firefox Sync account (chrome://Fir2022-05-11T02:49:03-07:00cor-elhttps://support.mozilla.org/zh-TW/questions/1376720#answer-1504229<p>Firefox uses the Password Manager to store the credentials of the Firefox Sync account (chrome://FirefoxAccounts) to make it possible to connect to Sync each time you start Firefox without the need to enter email and password.
This chrome://FirefoxAccounts entry is hidden from about:logins and is only visible if you check logins.json.
If you do not allow Firefox to store this data then you will have to login each time you start Firefox.
</p>
<hr>
<p>For a website to recognize and remember you, you can use these steps.
</p>
<ul><li>create a cookie allow exception with the proper protocol (https:// or http://) to make a website remember you
</li></ul>
<p>You can check that you aren't clearing important cookies.
</p>
<ul><li>using "Delete cookies and site data when Firefox is closed" keeps cookies with an allow exception
</li><li>using "Clear history when Firefox closes" to clear cookies clears all cookies including cookies with an allow exception you may want to keep
</li><li>clearing "Site Preferences" clears exceptions for cookies, images, pop-up windows, and software installation and exceptions for passwords and other website specific data
</li></ul>
<ul><li>Settings -&gt; Privacy &amp; Security<br>Cookies and Site Data: "Manage Exceptions"
</li><li>Settings -&gt; Privacy &amp; Security<br>Firefox will: "Use custom settings for history":<br>[X] "Clear history when Firefox closes" -&gt; Settings
</li></ul>Paul Sybrandy said
jscher2000 - Support Volunteer saidHi, which account is disconnected? Do you mean2022-05-11T02:41:35-07:00jscher2000https://support.mozilla.org/zh-TW/questions/1376720#answer-1504222<em><p>Paul Sybrandy <a href="#answer-1504217" rel="nofollow">said</a></p></em>
<blockquote><em><p>jscher2000 - Support Volunteer <a href="#answer-1504208" rel="nofollow">said</a></p></em><blockquote>Hi, which account is disconnected? Do you mean your Firefox Account (used for Sync) or particular website accounts?
Do you let Firefox save and fill logins (username + password), or are you needing to fill in every web login form by hand?</blockquote>
Yes My actual Mozilla account to sync. I do not save passwords through the browser... ever!</blockquote>
<p>Normally Firefox saves your Firefox Account login in the built-in password manager. I don't know whether you've blocked that, or whether, following good privacy practices, you secured it with a Primary password. In that scenario, Firefox will prompt shortly after startup for the Primary password to decrypt that credential and connect. <a href="/en-US/kb/using-primary-password-sync" rel="nofollow">Using a Primary Password with Sync</a> Is this the one you're seeing?
</p>
<blockquote><img src="https://user-media-prod-cdn.itsre-sumo.mozilla.net/uploads/images/2022-05-11-09-41-18-b6c9db.png"></blockquote>Hi jscher2000 and thank you for replying. In order of your inquiries:
Yes My actual Mozilla account 2022-05-11T02:24:13-07:00paulneocubehttps://support.mozilla.org/zh-TW/questions/1376720#answer-1504217<p>Hi jscher2000 and thank you for replying. In order of your inquiries:
</p><p>Yes My actual Mozilla account to sync. I do not save passwords through the browser... ever!
</p><p>Yes I am on Windows 11 and no not through the store. I try never to download through the store for privacy reasons. I do not like things open when not in use and that is why I close my browser. I do a lot of testing as well so restarting my computer happens anywhere from 5-20 times daily. On occasion, even more than that. Obviously, restarting my computer means automatically closing the browser.
</p><p>Any other info you require? Just ask. Thanks again!
</p><p>EDIT: Missed a question... kinda. I use KeepassXC (browser extension) as I do not like storing passwords on browsers or anywhere else for that matter. I use keepass for everything and everywhere. Always have.
</p>Two other thoughts:
Your post indicates Windows 11. Did you install the conventional way from Mozill2022-05-11T02:14:09-07:00jscher2000https://support.mozilla.org/zh-TW/questions/1376720#answer-1504210<p>Two other thoughts:
</p><p>Your post indicates Windows 11. Did you install the conventional way from Mozilla's website, or through the Microsoft store?
</p><p>Also, you shouldn't need to shut down Firefox 10-20 times a day. You could consider minimizing the Firefox window so Firefox doesn't need to restart every time you use it.
</p>Hi, which account is disconnected? Do you mean your Firefox Account (used for Sync) or particular we2022-05-11T02:09:51-07:00jscher2000https://support.mozilla.org/zh-TW/questions/1376720#answer-1504208<p>Hi, which account is disconnected? Do you mean your Firefox Account (used for Sync) or particular website accounts?
</p><p>Do you let Firefox save and fill logins (username + password), or are you needing to fill in every web login form by hand?
</p>