Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Firefox won't stay signed in (I have to login every time I open the browser, and my previous session is lost) - how can I fix this?

  • 5 个回答
  • 3 人有此问题
  • 1 次查看
  • 最后回复者为 Alex

more options

Almost every time I open FF I have to sign in and sync, and start my browsing from scratch. My previous session does not open: I have tried several times to set my preferences to restore previous session. Sometimes the session is there but after opening and closing the browser a few times the session is lost.

Almost every time I open FF I have to sign in and sync, and start my browsing from scratch. My previous session does not open: I have tried several times to set my preferences to restore previous session. Sometimes the session is there but after opening and closing the browser a few times the session is lost.

被采纳的解决方案

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. If you use the master password then you need to enter the MP every time you start Firefox. If you are asked to login again to Sync then this means that the Sync credential data isn't stored properly in the Password Manager.

Do you see any entries in the Firefox Password Manager ?

  • Options/Preferences -> Privacy & Security: Logins and Passwords: "Saved Logins" -> "Show Passwords"

You can check if you have a logins.json.corrupt file in the profile folder.

You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

定位到答案原位置 👍 0

所有回复 (5)

more options

That could be caused by several different things.

1) You may have corrupt sessionstore [v56] sessionstore.jsonlz4 file(s). Delete all sessionstore* files and the sessionstore-backups folder.

Type about:support<enter> in the address bar.

Under the page logo on the left side, you will see Application Basics. Under this find Profile Folder. To its right press the button Show Folder. This will open your file browser to the current Firefox profile. Now Close Firefox.

Windows: Show Folder; Linux: Open Directory; Mac: Show in Finder

Linux: Under the page logo on the left side, you will see Application Basics. Under this find Profile Directory. To its right press the button Open Directory.

Locate the above file. Then rename or delete it. Restart Firefox.


Don't delete the files if you need to rescue any data from them, just move them out of the profile folder to some location where Firefox doesn't look for them. You can try to read out their contents using this tool: https://www.jeffersonscher.com/res/scrounger.html

more options

2) Type about:preferences#privacy<enter> in the address bar. The button next to History, select Use Custom Settings.

Turn off Always Use Private Browsing Mode Turn on Remember My Browsing And Download History At the bottom of the page, turn on Clear History When Firefox Closes. At the far right, press the Settings button. Turn on ONLY Cache and Form And Search History leaving the others off.

more options

3) https://support.mozilla.org/en-US/kb/how-to-fix-preferences-wont-save

Note: Some software, like Advanced SystemCare with Surfing Protection, can protect files in the Firefox profile folder against changes. If you have such software then check the settings or uninstall this software.

more options

选择的解决方案

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. If you use the master password then you need to enter the MP every time you start Firefox. If you are asked to login again to Sync then this means that the Sync credential data isn't stored properly in the Password Manager.

Do you see any entries in the Firefox Password Manager ?

  • Options/Preferences -> Privacy & Security: Logins and Passwords: "Saved Logins" -> "Show Passwords"

You can check if you have a logins.json.corrupt file in the profile folder.

You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

more options

Attempted each of the remedies above, and Firefox still will not stay signed in. Even if I just close the window, opening it up will demand another sign in, suggesting I sync and install firefox on my phone, though I have done all of these moments ago. What is wrong with Firefox?