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!

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

Firefix is showing tabs from previous session despite Otions being set to Home Page or Blank Page

  • 12 replies
  • 5 have this problem
  • 10 views
  • Last reply by cor-el

more options

When I first start Firefox (31.0), all of the tabs from the previous browsing session are shown. If you have some news sites as home pages, then you get yesterdays new shown to you.

I have tried going in to options and the setting for "When Firefox starts:" is set to "Show my home page". I have tried adjusting it to "Show a blank page" but this makes no difference, I still get the tabs that were open when I closed the browser.

Starting Firefox in Safe mode makes no difference - I still get the tabs from the previous browsing session. I have not added any add-ons recently.

How do I get back control of how Firefox starts?

When I first start Firefox (31.0), all of the tabs from the previous browsing session are shown. If you have some news sites as home pages, then you get yesterdays new shown to you. I have tried going in to options and the setting for "When Firefox starts:" is set to "Show my home page". I have tried adjusting it to "Show a blank page" but this makes no difference, I still get the tabs that were open when I closed the browser. Starting Firefox in Safe mode makes no difference - I still get the tabs from the previous browsing session. I have not added any add-ons recently. How do I get back control of how Firefox starts?

Chosen solution

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.

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

  • Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)

See also:

Read this answer in context 👍 2

All Replies (12)

more options
more options

Thanks for the link Roger but the article is dealing with a different issue and doesn't solve my problem.

more options

Chosen Solution

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.

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

  • Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)

See also:

more options

In the past 24 hours Firefox has developed the same problem which has not been resolved by update to Firefox 32. I have tried all of the above suggestions, as well as disabling all add-ons, with absolutely no effect. Firefox is set to open in my home page, browsersessionstore.resume_session_once is set to false and there is no user.js file.

Is there any way to fix this problem?

more options

You can check for problems with the sessionstore.js and sessionstore.bak files in the Firefox profile folder that store session data.

Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost and you will have to recreate them (make a note or bookmark them if possible).

more options

Hi, cor-el,

I have a sessionstore.js and a sessionstore.bak file. Can I delete both?

more options

If you aren't interested in tabs that are saved in those files then you can delete them. Firefox will create new files. When Firefox is started then Firefox renames the sessionstore.js file to sessionstore.bak to make it possible to restore the previous session (History > Restore Previous Session).

Note that Windows hides some file extensions by default. Among them are .html and .ini and .js and .txt, so you may only see user file name without .js 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.

more options

I have a user.js file but no way of reading its contents. Can I safely delete it?

more options

Yes, you can delete the user.js file. You can right-click the file and open it in a text editor (Notepad) for inspection, so do not double-click the file as that will give an error (Windows sees it as a JScript file).

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.

more options

Problem solved by deleting user.js. Thanks a million!

more options

hello. i get to the profile folder, and even see the user.js file, however, i understand that i am supposed to open this folder? it doesn't seem to open or there is nothing there when you open it. i am having the same problem, a bunch of tabs/pages appear (seem to be the same ones) when i open firefox up to start a new browsing session. all i want is the homepage. do you have further detailed instructions? am i just missing something? thanks for any help you can provide.

more options

You can delete the user.js file or check its content in a text editor (Notepad) via the right-click context menu (Open with) to see which prefs are affected. Do not double-click this file as this causes a JScript error.