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.

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

Firefox keeps loading old tabs when restarting

  • 6 replies
  • 4 have this problem
  • 17 views
  • Last reply by 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

Chosen solution

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).

Read this answer in context 👍 2

All Replies (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

Chosen Solution

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.

Modified by 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.

Modified by 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.