Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

How do I stop FF from restoring previous session, I've already played with all the options I can find but nothing stops it unless I delete history each time.

  • 7 回覆
  • 20 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

Recently, FF has started opening my last tabs when I start a fresh session. I have already checked to make sure that none of the applicable settings are enabled, such as under Options->General: When FF starts "SHOW MY HOMEPAGE" is selected. But for some reason, it opens my last session. The only way I've been able to get it to stop doing this is by having it delete my browsing history after I close the session. I don't want this since I often use my history to re-find information I need for class research. I have made certain that all my settings are the same from before FF started doing this. It only started doing this after the computer was turned off for a long weekend.

I've already searched through the Mozilla help pages and all I can find is how to restore the previous session or similar. I don't want to restore my previous session, I want it to stop restoring my previous session without having to delete my browsing history each time.

Recently, FF has started opening my last tabs when I start a fresh session. I have already checked to make sure that none of the applicable settings are enabled, such as under Options->General: When FF starts "SHOW MY HOMEPAGE" is selected. But for some reason, it opens my last session. The only way I've been able to get it to stop doing this is by having it delete my browsing history after I close the session. I don't want this since I often use my history to re-find information I need for class research. I have made certain that all my settings are the same from before FF started doing this. It only started doing this after the computer was turned off for a long weekend. I've already searched through the Mozilla help pages and all I can find is how to restore the previous session or similar. I don't want to restore my previous session, I want it to stop restoring my previous session without having to delete my browsing history each time.

被選擇的解決方法

Create a new profile as a test to check if your current profile is causing the problems.

See "Creating a profile":

If the new profile works then you can transfer some files from the old profile to that new profile, but be careful not to copy corrupted files.

You can also try to reset Firefox:

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

所有回覆 (7)

more options

If you set Firefox to open a home page when it starts up, that should fix it. If you do not want to see a particular page as the home page, you can set that to about:blank. Do that at Options > General.

more options

Make sure that Firefox closes properly and that there isn't a hanging Firefox or plugin-container process left in the task manager.

See:

Use "Firefox/File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit") to close Firefox if you are currently doing that by clicking the close X on the title bar.

You can set the Integer pref browser.sessionstore.max_resumed_crashes to 0 on the about:config page to get the about:sessionrestore page immediately with the first restart after a crash has occurred or the Task Manager was used to close Firefox.

That way you see if a sessions has crashed or otherwise didn't close properly and will allow you to deselect the tab(s) that you do not want to reopen, but will allow to reopen other tabs.

more options

@Finitarry: I already have a website set as my default (and startup) page. I have also tried to change and then return this option to no avail.

@Cor-el: FF is not crashing or hanging (tested using the max_resumed_crashes setting). Also, as per Task Manager, when I exit out of FF (using either the red 'x' in the upper right corner, or Firefox->Exit) the process closes down and ends entirely.

I'm sorry, folks, but neither of these proposed solutions did anything to help. FF still re-opens the last session even though all settings are telling it not to.

more options

選擇的解決方法

Create a new profile as a test to check if your current profile is causing the problems.

See "Creating a profile":

If the new profile works then you can transfer some files from the old profile to that new profile, but be careful not to copy corrupted files.

You can also try to reset Firefox:

more options

@Cor-el: I created a new profile and it no longer returned to the old session. Thank you. I even tried loading addons into FF to see if I could cause it to return to the problem and so far it has stopped entirely.

more options

Using the instructions here: http://kb.mozillazine.org/Session_Restore#Disabling_crash_recovery

I was able to turn off that feature entirely without having to create a new profile.

more options

You can check if you have a user.js file in the Firefox profile folder that sets the browser.sessionstore.resume_session_once pref to true.

由 cor-el 於 修改