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!

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

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 balasan
  • 3 ada masalah ini
  • 1 paparan
  • Balasan terakhir oleh 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.

Penyelesaian terpilih

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.

Baca jawapan ini dalam konteks 👍 0

All Replies (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

Penyelesaian Terpilih

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?