为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Firefox keeps loading old tabs when restarting

  • 6 个回答
  • 4 人有此问题
  • 2 次查看
  • 最后回复者为 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.