Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

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
Solved Archived

Sessionrestore occasionally does not show my tabs as they were when I closed Firefox, but as they were some time before I closed it.

BetaCapricorn

Occasionally Sessionrestore doesn't show my tabs as they were when I closed Firefox, but as they were at some seemingly random (but persistent if trying again) point between starting and ending my previous session. Occasionally they're exactly as they were when I started my last session. I'm currently using Firefox 5, but the problem was already present when I was still using 4. Perhaps it's also relevant that I tend to have lots of windows and tabs open, sometimes to the point of crashing Firefox.

Occasionally Sessionrestore doesn't show my tabs as they were when I closed Firefox, but as they were at some seemingly random (but persistent if trying again) point between starting and ending my previous session. Occasionally they're exactly as they were when I started my last session. I'm currently using Firefox 5, but the problem was already present when I was still using 4. Perhaps it's also relevant that I tend to have lots of windows and tabs open, sometimes to the point of crashing Firefox.
Read this answer in context

Chosen Solution

It is possible that one of the extensions is causing it, but that may be hard to diagnose if you can't replicate it or force it to happen.

All Replies (6)

If you have a lot of windows open you might want to increase the limit, which has a default is three, I increased mine to 5.

  • browser.sessionstore.max_windows_undo

It's new stuff so there could certainly be problems. What would be needed is being able to duplicate a problem reliably and repeatedly.

Although you don't mention app-tabs there may be some important points to consider in

Make sure that Firefox closes properly and that there aren't hanging Firefox processes left.

See "Hang at exit":

I've increased my window limit to five too, though I'm unsure if I understand it's function correctly, I've reloaded more then three windows through session restore in the past. Anyway, that didn't have an effect. I haven't used app tabs at all yet, so I doubt that could be the problem. As for closing down Firefox correctly, the problem seems to persist regardless of how Firefox closes, be it a crash, killing it in task manager, or through file>exit. I forgot to mention this earlier, but I've monitored sessionstore.js, and it seems like that file literally stops being modified at some point, regardless if I keep browsing. If there's a way that I could "reliably duplicate" the process, I'd love to help, just say what I should do. It's been happening pretty much every browsing session lately, it seems that if I just browse for a decent while it's bound to happen.

Chosen Solution

It is possible that one of the extensions is causing it, but that may be hard to diagnose if you can't replicate it or force it to happen.

Well, the good news is that the problem seems to be solved. The "bad" news: (if you're interested, and if you aren't you can stop reading now) I don't know how. I seem to have solved it somehow by disabling all my extensions. But, weirdly enough, I haven't had the problem since, despite trying to re-activate the two extensions (all-in-one sidebar and tree style tab), and now having both of them running again. Furthermore, I've saved a backup of my settings folder before disabling the extensions, and I have not been able to reproduce my success with them. Either I'm overlooking something, or it was a fluke. Anyway, thanks for the help! it's really appreciated.

I pointed to a question about app-tabs because it refers to the manner in which you close Firefox or close your windows. If you close Firefox windows individually only the last Window up is your last session. Also closing the Window is a bad way of closing Firefox.