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

搜尋 Mozilla 技術支援網站

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

了解更多

Can't restore session using sessionstore.js

more options

I lost my session when I last opened Firefox (must have opened a window and closed it or something...). I looked and my sessionstore-backups folder and the recovery.js file seams to have my missing tabs.

Still - after trying to replace the sessionstore.js file with the recovery one (I also tried changing the bak file) Firefox magically re-opens with the same last session on it!

I'm going slightly insane here and would really appreciate some help... P.S: one theory - any chance this could be related to "Tab groups" being installed? I don't know how the recovery deals with these now... could it be that it creates its own sessionstore.js file or something of that sort?

I lost my session when I last opened Firefox (must have opened a window and closed it or something...). I looked and my sessionstore-backups folder and the recovery.js file seams to have my missing tabs. Still - after trying to replace the sessionstore.js file with the recovery one (I also tried changing the bak file) Firefox magically re-opens with the same last session on it! I'm going slightly insane here and would really appreciate some help... P.S: one theory - any chance this could be related to "Tab groups" being installed? I don't know how the recovery deals with these now... could it be that it creates its own sessionstore.js file or something of that sort?

所有回覆 (3)

more options

If you saw tabs in the recovery.js/recovery.bak/sessionstore.js that are not visible in your actual session, they could be in closed windows. Please check the History menu:

  • If "Restore Previous Session" is available (not grayed out), try that -- this will replace any new windows and tabs you might have opened in the current session
  • Check the closed windows list to see whether any of them might be useful
  • Within each window, check the closed tabs list to see whether any of them might be useful

Any luck?

more options

Well restore session was grayed out (it actually did restore the session, just the wrong one...) But "restore closed windows" actually worked! Didn't even noticed it before you sent me to look around there (woops). Not sure I understand the difference to be honest.

Still don't get the thing with the sessionstore.js file, but I guess I'll let that go and install session manager for a slightly safer life...

Thanks!!

more options

When you exit Firefox, usually it happens so fast that the session history file doesn't record any of the open windows as having been closed during your session. It might have been a glitch of timing in this case but whatever the cause, I'm glad you found it.