Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

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

Firefox not keeping restored sessions up to date

  • 5 replies
  • 1 has this problem
  • 5 views
  • Last reply by HansE

more options

Whenever firefox is closed by whatever means, when I reopen it and tell it to restore sessions, I'm seeing tabs and windows from hours ago or sometimes even days! Needless to say this defeats the entire purpose of the restore session function and is getting very annoying now.

Whenever firefox is closed by whatever means, when I reopen it and tell it to restore sessions, I'm seeing tabs and windows from hours ago or sometimes even days! Needless to say this defeats the entire purpose of the restore session function and is getting very annoying now.

All Replies (5)

more options

You can check for problems with the sessionstore.js and sessionstore.bak files in the Firefox profile folder that store session data.

Delete the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox profile folder.

Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost and you will have to recreate them (make a note or bookmark them if possible).


Make sure that your security software isn't protecting or restoring js files in the Firefox profile folder.

more options

Deleting the sessionstore files seemed to help for now. I'll see how it goes but for now it's good.

more options

Right so a day later and after closing firefox myself, it decided to bring up a firefox version from a few hours ago. Not as annoying as some of the stunts I've gotten but still.

My virus-scan and firewall are not doing anything to the js files in my profile folder.

Something I've noted is that every now and again, the sessionstore.js file refuses to back up; I check the last modified date and it's hours ago. I know that the interval value in about:config is still at its default 15000 value so I'm not sure why it decides to randomly misbehave.

Modified by Darkoda

more options

You can try this startup setting:

  • Tools > Options > General > Startup: "When Firefox Starts": "Show my windows and tabs from last time"

Start Firefox in Safe Mode to check if one of the extensions (Firefox/Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Firefox/Tools > Add-ons > Appearance).

  • Do NOT click the Reset button on the Safe Mode start window.
more options

RE: Ancient Tabs restoring in secondary New Window

I had a similar yet not identical issue. For my Firefox v26, I had always had it set to auto Restore The Last Tab(s), and any new windows opened after that first window would open a single blank Tab. Recently a series of tabs from a restore long ago began arriving on the first window. Removing the session files described above helped clean that up. However, if I then used the File menu to Open A New Window, that second window opened all those ancient restored tabs. I also tried some about:config edits described in other articles without success, and then changed those values back once tested.

The fix for this particular situation was to edit the General tab in the Firefox Options (Tools menu > Options > General). I changed the Home Page entry to the Firefox default and I changed the start-up behavior ("When Firefox Starts") to not restore the last tabs, but just open the home page. Once everything was opening normally, with a plain homepage on the first window and the second window opening a blank tab, I then set my start-up back to restoring old tabs ("Show my windows and tabs from last time") and now it behaves as I wanted.

I hope that helps someone else. FYI