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

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

了解更多

Firefox restores an older session instead of the last one

My OS and Firefox both run stable for days but occasionally there'll be a crash. When I reboot and restart Firefox, like I expect it prompts me to restore my session. The session however is one of a few weeks ago -- not the one just crashed. I've had it a couple of times now.

I've tried once, after I had closed all irrelevant tabs and manually restored new tabs, to close Firefox in a controlled way but it made no difference: all the old tabs came back during the next restart.

Session restore worked fine until a few weeks ago.

Notes: 1) I'm currently on 3.6.13 but the sessionstore file may be of 3.5. I think that shouldn't matter but am not sure. 2) I do get error messages about crash plug-ins/plug-in container from time to time

My OS and Firefox both run stable for days but occasionally there'll be a crash. When I reboot and restart Firefox, like I expect it prompts me to restore my session. The session however is one of a few weeks ago -- not the one just crashed. I've had it a couple of times now. I've tried once, after I had closed all irrelevant tabs and manually restored new tabs, to close Firefox in a controlled way but it made no difference: all the old tabs came back during the next restart. Session restore worked fine until a few weeks ago. Notes: 1) I'm currently on 3.6.13 but the sessionstore file may be of 3.5. I think that shouldn't matter but am not sure. 2) I do get error messages about crash plug-ins/plug-in container from time to time

所有回覆 (4)

This can be a problem with the file sessionstore.js and sessionstore.bak in the Profile Folder

Delete sessionstore.js and sessionstore.bak in the Profile Folder

If you see files sessionstore-##.js with a number in the left part of the name like sessionstore-1.js then delete those as well.

See:

OK, thanks for the tip. Effectively I will be starting a new session, right? So I will lose all tabs -- the ones that I want to keep as well as the ones I don't?

Yes, you will start a new session if you delete sessionstore.js

You can bookmark tabs that you want to keep.

Right-click the Tab bar: Bookmarks This Tab or Bookmark All Tabs

Thanks. This seems to have worked. I didn't want to lose my tabs (and haven't) but didn't mind losing my navigation history and such. I guess I should do this every once in a while. Over the course of recent months, the size of my sessionstore file had gradually grown to over 20MB...