搜尋 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.