We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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

How can I get Firefox 91 to ask if i want it to restore previous session?

more options

I've always had Firefox ask if I want to restore the previous session, so that I can get rid of unwanted tabs without having to click through them all one by one. It used to start to that page, but several updates ago it stopped.

I checked and I have the "browser.sessionstore.max_resumed_crashes" in the about:config page set to 0 which according to everything I can find should bring up the page that I'm looking for when I start after closing it out with the Task Manager, but it isn't working. It just restores everything automatically, without taking me to the page I can check off which tabs and windows I want restored.

I'm using Firefox 91.0 (64 bit) and Windows 10.

Thanks for any help.

I've always had Firefox ask if I want to restore the previous session, so that I can get rid of unwanted tabs without having to click through them all one by one. It used to start to that page, but several updates ago it stopped. I checked and I have the "browser.sessionstore.max_resumed_crashes" in the about:config page set to 0 which according to everything I can find should bring up the page that I'm looking for when I start after closing it out with the Task Manager, but it isn't working. It just restores everything automatically, without taking me to the page I can check off which tabs and windows I want restored. I'm using Firefox 91.0 (64 bit) and Windows 10. Thanks for any help.

All Replies (3)

more options

The max_resumed_crashes preference is only consulted if Firefox believes that it last closed by crashing. It is not used if Firefox exited normally.

Unfortunately, I'm not aware of any other way to get to that screen.

If you do not want Firefox to restore your previous session automatically, make sure "Restore previous session" is NOT checked on the Settings page.

more options

I don't exit it normally, I use the task manager to close it, which (to my understanding) is supposed to appear to Firefox as a crash. I've had this happen before after updates, and setting this to 0 always fixed the problem until recently. (It's actually been a few months, but I've been trying to find some info on how to fix it, and finally gave up and created the account here)

Does Firefox no longer look at a task manager close as a crash? Something has obviously changed. Maybe it's on the Windows side of things? Like the TM doesn't close it in a way that gets interpreted like a crash anymore?

If I uncheck the "restore previous session" I'll lose all the windows/tabs. I just want to be able to pick which ones I want to restore.

Thanks for the info though. Hopefully I can find a workaround.

more options

Here's one other thing to check:

Sometimes users get a user.js file with an entry that instructs Firefox to resume the last session once but the way a user.js file works, that instruction is re-read at every startup. This article has info on how to check whether you have a user.js file (find it in the table of contents):

How to fix preferences that won't save