This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 4 tontu
  • 2 am na jafe-jafe bii
  • 21 views
  • i mujjee tontu mooy 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 moo ko soppali ci

All Replies (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 moo ko soppali ci

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.