Search Support

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 I disable Restore Previous Session?

  • 3 odgovori
  • 4 ima ovaj problem
  • 7 views
  • Posljednji odgovor poslao Dsell87

more options

Hello, my parents just bought a new computer and I am helping them to set it up. Right now their biggest concern is that when Firefox closes and is reopened, the session from last time is automatically restored. They are worried about privacy concerns in case they're logged in shopping or on their email.

I am using Windows 8.1 and Firefox 33.0.2

Firefox is currently set in the options to "Show my homepage" when it starts. I found this link https://support.mozilla.org/en-US/questions/975670 and followed the directions there, including setting browser.sessionstore.resume_from_crash. in the config files to false, but I've still had no luck. A search shows that I do not have a "user.js" file in the Firefox profile that might be causing the problem, so that solution isn't working for me.

I also used this page http://kb.mozillazine.org/Browser.sessionstore.enabled to check my "browser.startup.page" and it is currently set to 1 "Show my Homepage."

I'm out of ideas and would appreciate any help anyone could offer.

Thanks!

Hello, my parents just bought a new computer and I am helping them to set it up. Right now their biggest concern is that when Firefox closes and is reopened, the session from last time is automatically restored. They are worried about privacy concerns in case they're logged in shopping or on their email. I am using Windows 8.1 and Firefox 33.0.2 Firefox is currently set in the options to "Show my homepage" when it starts. I found this link https://support.mozilla.org/en-US/questions/975670 and followed the directions there, including setting browser.sessionstore.resume_from_crash. in the config files to false, but I've still had no luck. A search shows that I do not have a "user.js" file in the Firefox profile that might be causing the problem, so that solution isn't working for me. I also used this page http://kb.mozillazine.org/Browser.sessionstore.enabled to check my "browser.startup.page" and it is currently set to 1 "Show my Homepage." I'm out of ideas and would appreciate any help anyone could offer. Thanks!

Izabrano rješenje

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.

Your System Details list shows that you have a user.js file in the profile folder to initialize prefs each time Firefox starts.

The user.js file is only present if you or other software has created this file and normally it wouldn't be there. You can check its content with a plain text editor (right-click: Open with) if you didn't create this file yourself.

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.

Pročitajte ovaj odgovor sa objašnjenjem 👍 1

All Replies (3)

more options

Hello,

Are you looking to clear the history each time you close Firefox (effectively removing your previous session)? If so, then you can change your settings in:

  • Tools (or New Fx Menu) > Options > Privacy

And change the History to "Never remember history", or "Use custom settings for history" and check "Clear history when Firefox closes" and then click "Settings". If you are worried about tracking cookies monitoring your shopping purchases, that is something you would want to clear every time.

Please note that they can also manually clear their cookies and history by going to:

  • History (or New Fx Menu > History) > Clear recent history

Izmjenjeno od strane CoryMH

more options

Odabrano rješenje

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.

Your System Details list shows that you have a user.js file in the profile folder to initialize prefs each time Firefox starts.

The user.js file is only present if you or other software has created this file and normally it wouldn't be there. You can check its content with a plain text editor (right-click: Open with) if you didn't create this file yourself.

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.

more options

Hi guys, thanks for the response. Cor-el I was able to find the user file and deleted it and that did the trick. Previously I did a search for "user.js" which didn't turn anything up. When I opened the "user" file in the profile it had about 5 lines setting the session restore to true, so that was the problem.

Thanks again!