為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

Wiping sessionstore on Crash

  • 2 回覆
  • 2 有這個問題
  • 2 次檢視
  • 最近回覆由 cor-el

more options

Firefox crashes everynow and again like all browsers when under heavy usage. However recently every time FireFox has crashed it has been unable to restore my last opened session.

After some research I found there is a sessionstore.js file in the Firefox App Data. After my last crash which I experience a few minutes ago I restarted my browser. I saw all my tabs on the restore page when Firefox opened and just as I thought the problem had fixed itself they all dissapeared. I went to the sessionstore.js file and found it was wiped clean.

Luckily there is a sessionstore.bak file which had the data in, after closing firefox, copying the data into sessionstore.js and reopening firefox I had my session back.

tl;dr: Does anyone know why Firefox is wiping this sessionstore.js file when I reopen the browser after a crash. The data is there, but wiped just before you can click restore session.

Thanks!

Firefox crashes everynow and again like all browsers when under heavy usage. However recently every time FireFox has crashed it has been unable to restore my last opened session. After some research I found there is a sessionstore.js file in the Firefox App Data. After my last crash which I experience a few minutes ago I restarted my browser. I saw all my tabs on the restore page when Firefox opened and just as I thought the problem had fixed itself they all dissapeared. I went to the sessionstore.js file and found it was wiped clean. Luckily there is a sessionstore.bak file which had the data in, after closing firefox, copying the data into sessionstore.js and reopening firefox I had my session back. tl;dr: Does anyone know why Firefox is wiping this sessionstore.js file when I reopen the browser after a crash. The data is there, but wiped just before you can click restore session. Thanks!

所有回覆 (2)

more options

Session data needs to be written to that file as Firefox is closing down. When Firefox crashes some session data will be lost as the temporary (while Firefox is running) file is lost.

You need to be working (with us) on keeping Firefox from crashing to begin with. To do that, please "Ask a new question" here - https://support.mozilla.org/en-US/questions/new Then provide the requested information; especially your Trouble Shooting Information and some Crash Report ID #'s.

https://support.mozilla.org/en-US/kb/firefox-crashes-troubleshoot-prevent-and-get-help https://support.mozilla.org/en-US/kb/Mozilla%20Crash%20Reporter

more options

When Firefox is started then Firefox renames the sessionstore.js file to sessionstore.bak to make it possible to restore the previous session at any time during the current session (History > Restore Previous Session) and creates a new sessionstore.js file for the current session.