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!

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

browser.sessionstore.resume_from_crash keeps resetting to False

  • 6 回覆
  • 12 有這個問題
  • 15 次檢視
  • 最近回覆由 cor-el

more options

I recently noticed that when I close Firefox via Task Manager's End Process method, it's no longer restoring my session when Firefox is opened again.

Apparently, browser.sessionstore.resume_from_crash has been set to False for some unknown reason, so I changed it back to True. However, it's always reset back "False" every time after I close Firefox normally or using End Process via Task Manager as it's not saving any changes made in the config.

What could be the problem?

I recently noticed that when I close Firefox via Task Manager's End Process method, it's no longer restoring my session when Firefox is opened again. Apparently, ''browser.sessionstore.resume_from_crash'' has been set to False for some unknown reason, so I changed it back to True. However, it's always reset back "False" every time after I close Firefox normally or using End Process via Task Manager as it's not saving any changes made in the config. What could be the problem?

所有回覆 (6)

more options

Start Firefox in Diagnose Firefox issues using Troubleshoot Mode to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).

  • Don't make any changes on the Safe mode start window.

See Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems and Troubleshoot issues with plugins like Flash or Java to fix common Firefox problems

See also http://kb.mozillazine.org/Preferences_not_saved


Your above posted system details show outdated plugin(s) with known security and stability risks that you should update.

  1. Shockwave Flash 10.1 r82
  2. Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers

Update the Flash plugin to the latest version.

Update the Java plugin to the latest version.

Update the Adobe Reader plugin to the latest version.

more options

I was having this problem too and I just fixed it. I found a entry in user.js that was causing Firefox to reset the value back to false on restart.


To fix it I opened up my Firefox profile folder and opened the file user.js in notepad. After that I removed the line below and saved it.

user_pref("browser.sessionstore.resume_from_crash", false);

由 CHRONOMASTER 於 修改

more options

Yep, that will happen when you have a pref set thru the user.js file. When Firefox is opened the user.js is read last, and a setting made in user.js will overwrite a pref change made in about:config - IOW, a setting in user.js trumps a setting changed in about:config.

more options

Hello,

It seems I don't have this user.js file in my profile folder, which I believe is in C:\Program Files\Mozilla Firefox\defaults\profile?

I also tried disabling all Add-Ons in Safe Mode, but it would still reset the value to False every time it's restarted. When I closed out Firefox properly, it would reload my tabs in the new session. However it still won't recover tabs from crashes or improper way to close Firefox like it used to.

I also have updated my Flash Plug-In and Adobe Reader plug-in as suggested.

由 chibuki 於 修改

more options

The folder you want to open is described in this link.

[http://kb.mozillazine.org/Profile_folder_-_Firefox#Windows]

more options

The files in C:\Program Files\Mozilla Firefox\defaults\profile are template files for a new profile.

Your profile folder is in this location:

  • XP: C:\Documents and Settings\<user>\Application Data\Mozilla\Firefox\Profiles\<profile>\
  • Vista/Windows 7: C:\Users\<user>\AppData\Roaming\Mozilla\Firefox\Profiles\<profile>\
  • Windows: %AppData%\Mozilla\Firefox\Profiles\<profile>\

Help > Troubleshooting Information > Profile Directory > Open Containing folder