搜尋 Mozilla 技術支援網站

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

了解更多

Battery flat > shuts down > open browser > Restore Last Session > New Tab

  • 4 回覆
  • 2 有這個問題
  • 21 次檢視
  • 最近回覆由 Andrew

more options

When I open my browser after shutting down due to my battery being flat, I select Restore Last Session. On doing this, the same number of tabs open, but each says New Tab and each page is blank. I can't restore the previous session because it says Empty.

Why is this?

'''When I open my browser after shutting down due to my battery being flat, I select Restore Last Session. On doing this, the same number of tabs open, but each says New Tab and each page is blank. I can't restore the previous session because it says Empty. '''Why is this?'''''

由 Andrew 於 修改

所有回覆 (4)

more options

Was Firefox running when that battery got flat?

It is possible that the file sessionstore.js got corrupted if that was the case.

If you see any sessionstore files with a number (sessionstore-##.js) in the Firefox Profile Folder then make a backup copy elsewhere and rename the file to sessionstore.js with Firefox closed.

  • Help > Troubleshooting Information > Profile Directory: Open Containing Folder
more options

"Was Firefox running when that battery got flat?" Yes.

"If you see any sessionstore files with a number (sessionstore-##.js) in the Firefox Profile Folder..." There's only a file called sessionstore.js.

"http://kb.mozillazine.org/Session_Restore" says to set "When Firefox starts" to "Show my windows and tabs from last time". I have Firefox 4, and this option isn't there.

more options

In Firefox 4 you can find that setting via Firefox > Options > General > When Firefox starts.

That session is probably lost if you can't access the previous session or have recently closed tabs or windows in Firefox > History

If you still see empty tabs then you need to delete sessionstore.js and sessionstore.bak in the Profile Folder
(this line got lost somehow in my above post, but should have been there)

由 cor-el 於 修改

more options

Thanks.

"In Firefox 4 you can find that setting via Firefox > Options > General > When Firefox starts." This option isn't there, this being due to having the Tab Mix Plus add-on. I've now set it to use Firefox's built-in Session Restore feature, and will see it how that goes.

I don't have a sessionstore.bak file.