搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Restore previous session

  • 4 回覆
  • 1 有這個問題
  • 18 次檢視
  • 最近回覆由 FredMcD

more options

Hi. I would like to restore my previous session when I open Firefox (last version of the browser installed). The option is turned on, but nothing happens when I close the browser and I open it again. The support says I should see "Restore previous session" after "New Private Window", but this option is not there. In the history, the list of recently closed tabs is always empty, there are juste one or two links in the recently closed windows (it seems to be a random list). Can someone help me ? I don't understand why it doesn't work. Thank you :)

所有回覆 (4)

more options

Step 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

由 FredMcD 於 修改

有幫助嗎?

more options

Step 2: You may be in Private Browsing mode or told Firefox not to remember.

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

Thank you very much for your reply.

I've just done what you suggest, but I couldn't solve the problem unfortunately :( In the profile folder, I found the files you can see on the screenshot and I moved the on my desktop. Is it right? I didn't find any other file "sessionstore".

Do you think I should uninstall Firefox and install it again? If yes, will I lose all preferences, bookmarks, history etc.?

Thank you for your help!

有幫助嗎?

more options

If the files were corrupted, removing them will make the program create new files.

Using the tool in my first link may recover the missing data.


Note: Firefox comes in three or more folders on all computers. They are;

Maintenance: (Programs Folder) <Windows Only> Firefox itself: (Programs Folder) And two folders in the profile of each user on the computer for each Firefox profile for that user.

If you remove the Firefox folder, the user profiles would not be affected.

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題