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!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do you disable a restore session each time you enter a new session?

  • 1 (رد واحد)
  • 1 has this problem
  • 1 view
  • آخر ردّ كتبه cor-el

more options

I enter a new session and it restores my last session after close. I tried all the stupid about:config stuff suggested in other questions and it didnt work. I have a homepage set. I have the correct session restore attributes set to false. I dont know what else to do. This is an annoying "feature"!!! Why do they have this????

I enter a new session and it restores my last session after close. I tried all the stupid about:config stuff suggested in other questions and it didnt work. I have a homepage set. I have the correct session restore attributes set to false. I dont know what else to do. This is an annoying "feature"!!! Why do they have this????

الحل المُختار

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.

The user.js file is read each time Firefox is started and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.

You can delete the user.js file if you didn't create this file yourself.


You can use this button to go to the currently used Firefox profile folder:

Windows hides some file extensions by default. Among them .html and .ini and .js and .txt, so you may only see a file name without file extension. You can see the real file type (file extension) in the properties of the file via the right-click context menu in Windows Explorer.

Read this answer in context 👍 1

All Replies (1)

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.

The user.js file is read each time Firefox is started and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.

You can delete the user.js file if you didn't create this file yourself.


You can use this button to go to the currently used Firefox profile folder:

Windows hides some file extensions by default. Among them .html and .ini and .js and .txt, so you may only see a file name without file extension. You can see the real file type (file extension) in the properties of the file via the right-click context menu in Windows Explorer.