搜尋 Mozilla 技術支援網站

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

Learn More

Firefox keeps loading old tabs when restarting

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

more options

Firefox keeps loading old tab when closed and a new Firefox was started. (My Startup home page is set to "restore to default". I even set sessionstore to 0 in about;config) Still same issue

Firefox keeps loading old tab when closed and a new Firefox was started. (My Startup home page is set to "restore to default". I even set sessionstore to 0 in about;config) Still same issue

被選擇的解決方法

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, so you will have to create them again (make a note or bookmark them).

從原來的回覆中察看解決方案 👍 2

所有回覆 (6)

more options

The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information. Note: This will cause you to lose any Extensions, Open websites, and some Preferences.

To Reset Firefox do the following:

  1. Go to Firefox > Help > Troubleshooting Information.
  2. Click the "Reset Firefox" button.
  3. Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
  4. Firefox will open with all factory defaults applied.


Further information can be found in the Refresh Firefox - reset add-ons and settings article.

Did this fix your problems? Please report back to us!

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, so you will have to create them again (make a note or bookmark them).

more options

HI,

Deleting sessionstore files did not help. But resetting firefox helped. Thanks everyone.

Regards,

Rama

more options

One that worked for me:

If in Windows:

  1. Go to Folder Options. In XP it's available in Explorer. In Vista and 7 (possibly 8 as well) it in the Control Panel.
  2. Click on the "View" tab. Make sure that in XP, "Show hidden files, folders and drives" is checked. In Vista and 7, make sure the radio button with the above name is marked under the "Hidden files and folders" subheading.
  3. Make sure that "Hide protected operating system files" is unchecked.

You'll now be able to see the "Users" folder in Windows Vista and above and "Application Settings" in XP and below on the root part of your C: drive.

In XP, the folder will be "Application Settings/Roaming/Mozilla/Firefox/Profiles". In Windows Vista and above it will be in "Users/user account/AppData/Roaming/Mozilla/Firefox/Profiles".

Go into the profile folder that isn't working and open the "user.js" file in Notepad when Firefox isn't running. Look for the line that says "user_pref("browser.sessionstore.resume_session_once", true);". If it's there as it sits, change "true" to "false".

Save the file and then reopen Firefox to see if it works.

由 TranceWarp 於 修改

more options

Hi TranceWarp, just a note that it might be easier for many people to modify that setting from inside Firefox using the about:config preferences editor.

Edit: I misread your post, sorry. As noted by cor-el, user.js does need to be edited manually.

由 jscher2000 - Support Volunteer 於 修改

more options

If there is a user.js file that sets this pref (and there have been more reports about this) then changing the pref on about:config won't help. Firefox would also disable this pref automatically on each start.