Om de ûnderfining foar jo te ferbetterjen is tydlik de funksjonaliteit dan dizze website troch ûnderhâldswurk beheind. Wannear in artikel jo probleem net oplost en jo in fraach stelle wolle, kin ús stipemienskip jo helpe yn @FirefoxSupport op Twitter en /r/firefox op Reddit.

Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Mear ynfo

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

Firefox fails to restore session after crash or task manager quit.

  • 4 antwurd
  • 5 hawwe dit probleem
  • 4 werjeftes
  • Lêste antwurd fan JMJimmy

more options

In FF 3.6 I had it configured so that when I closed the program normally all history/etc was cleared. If I closed the program via the task manager (or when FF crashed/Windows shut it down) it would save my session and offer to restore it upon re-loading the program. This was especially useful when FF would stop responding/become slow due to memory leaks. This feature does not work since I updated to FF15.

I've read the kb article, checked similar questions for possible solutions, etc. Nothing seems to make the "restore previous session" available to me. I don't get the "this is embarrassing" page, the option under "History" to restore previous session is greyed out, and about:home doesn't offer the option.

These are my about:config settings:

browser.sessionstore.enabled;true browser.sessionstore.interval;15000 browser.sessionstore.max_resumed_crashes;1 browser.sessionstore.max_tabs_undo;5 browser.sessionstore.max_windows_undo;3 browser.sessionstore.postdata;-1 browser.sessionstore.privacy_level;0 browser.sessionstore.privacy_level_deferred;1 browser.sessionstore.restore_hidden_tabs;false browser.sessionstore.restore_on_demand;true browser.sessionstore.restore_pinned_tabs_on_demand;false browser.sessionstore.resume_from_crash;true browser.sessionstore.resume_session_once;false services.sync.prefs.sync.browser.sessionstore.restore_on_demand;true

In FF 3.6 I had it configured so that when I closed the program normally all history/etc was cleared. If I closed the program via the task manager (or when FF crashed/Windows shut it down) it would save my session and offer to restore it upon re-loading the program. This was especially useful when FF would stop responding/become slow due to memory leaks. This feature does not work since I updated to FF15. I've read the kb article, checked similar questions for possible solutions, etc. Nothing seems to make the "restore previous session" available to me. I don't get the "this is embarrassing" page, the option under "History" to restore previous session is greyed out, and about:home doesn't offer the option. These are my about:config settings: browser.sessionstore.enabled;true browser.sessionstore.interval;15000 browser.sessionstore.max_resumed_crashes;1 browser.sessionstore.max_tabs_undo;5 browser.sessionstore.max_windows_undo;3 browser.sessionstore.postdata;-1 browser.sessionstore.privacy_level;0 browser.sessionstore.privacy_level_deferred;1 browser.sessionstore.restore_hidden_tabs;false browser.sessionstore.restore_on_demand;true browser.sessionstore.restore_pinned_tabs_on_demand;false browser.sessionstore.resume_from_crash;true browser.sessionstore.resume_session_once;false services.sync.prefs.sync.browser.sessionstore.restore_on_demand;true

Alle antwurden (4)

more options

When using "Clear history when Firefox closes" do not clear the "Browsing History" because in that case Firefox won't restore tabs from the previous session (tabs are considered as history, so that prevails).

more options

By doing that it won't clear the history when closed normally (which is what I want). Firefox is supposed to be able to distinguish between a normal close and a forced close/crash.

ie: when I'm done using Firefox I want my browsing history to be deleted. when firefox crashes I want it to restore my session

more options

If you force Firefox to close and Firefox isn't able to clear the recent history then Firefox notices that and does it on the next start instead.

Firefox creates this pref on a successful shutdown:

  • user_pref("privacy.sanitize.didShutdownSanitize", true);

There is also this pref:

  • privacy.clearOnShutdown.sessions

I don't know what it is meant for.

Bewurke troch cor-el op

more options

privacy.clearOnShutdown.sessions is the same thing as your first answer. When you toggle Tools > Options > Privacy: History: [X] Clear history when Firefox closes > Settings that's the setting it changes to false.

Is there any way of preventing FF from clearing recent history on start so I can actually restore a session when FF crashes/hangs?