X
Tap here to go to the mobile version of the site.
Your Firefox is out of date and may contain a security risk! Upgrade Firefox

Support Forum

I have a problem restoring the tabs from the previous session.

Posted

After a computer restart I started a new session without restoring the tabs from the previous session. Is there a way to restore those tabs without selecting each one from History ?

Chosen solution

cor-el - Thank you so much. I found a previous version of the .bak file that had all 29 tabs saved. Restoring it saved me an immense amount of time and frustration. You deserve a medal.

Read this answer in context 1

Additional System Details

Installed Plug-ins

  • Next Generation Java Plug-in 10.17.2 for Mozilla browsers
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • Shockwave Flash 11.6 r602
  • Adobe PDF Plug-In For Firefox and Netscape 10.1.6
  • 5.1.20125.0
  • Adobe PDF Plug-In For Firefox and Netscape 10.1.5
  • NPWLPG
  • np-mswmp

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0

More Information

jscher2000
  • Top 10 Contributor
2375 solutions 21032 answers

Helpful Reply

If you haven't closed your browser, usually you can use

History > Restore Previous Session

or the button on the built-in Firefox home page (about:home).

However, that doesn't always work; session restore isn't 100% reliable.

jscher2000
  • Top 10 Contributor
2375 solutions 21032 answers

Are you still running Firefox 17? For security reasons, you should update to Firefox 19. You can use the "Check for Updates" button here to do that:

Help menu > About Firefox

If you have a specific reason that you feel you can't update, what is it? Maybe there's a good workaround.

Betafox 0 solutions 5 answers

Yes, there might be a way to restore your tabs. I can't answer this for every version of Firefox, now. So, please write me the version you are currently using and I am going to help you tomorrow. ;-)

Betafox 0 solutions 5 answers

If you are still using the current version of Firefox, you may choose this way: "Firefox" (Button, left side top) -> "History" -> "Restore Previous Session"

Question owner

Thank you both for your response, but you will note I restarted the computer. This will naturally have closed Firefox in the process. I then started Firefox and opened a new tab. Restore previous tabs option is not available. Using Firefox 17.04

jscher2000
  • Top 10 Contributor
2375 solutions 21032 answers

Helpful Reply

Normally when you restart Firefox, the option to restore the previous session will be present, regardless of how you shut down Firefox. But... no guarantees and at this point it might just be gone.

If you open your currently active Firefox settings folder (AKA your Firefox profile folder), you might find a file named sessionstore.bak with a promising timestamp. If you think it dates from your lost session, make a copy of that file in a safe place and we can try to substitute it back as your session history file.

To open your profile folder:

Help menu > Troubleshooting Information > "Show Folder" button

Make your copy for safekeeping. Exit Firefox. Once Firefox has finished updating the files in the folder, rename sessionstore.js to sessionstore.old and copy your sessionstore.bak back and rename it to sessionstore.js.

Restart Firefox, then restore your previous session using the History menu. Any luck?

Modified by jscher2000

Question owner

jsher2000 - Thank you so much for your helpful advice. I tried it and I think it would have worked fine except that having realised originally that I was in the process of opening a new tab prior to restoring the previous ones, I think I closed Firefox to try to stop the new web site loading, and in the process it must have overwritten sessionstore.bak. Had I not done that I think your solution would have worked a treat. I will save your advice in case a similar thing happens again. Thank you.

cor-el
  • Top 10 Contributor
  • Moderator
10776 solutions 96959 answers

You can try to restore a previous version of the sessionstore.js or sessionstore.bak file. You need to rename the .bak file to .js to make Firefox see that session.

  • right-click: Properties > Previous Versions

Modified by cor-el

Chosen Solution

cor-el - Thank you so much. I found a previous version of the .bak file that had all 29 tabs saved. Restoring it saved me an immense amount of time and frustration. You deserve a medal.

cor-el
  • Top 10 Contributor
  • Moderator
10776 solutions 96959 answers

You're welcome.

cyl90089 0 solutions 3 answers

HI all, i have the same problem also! I saw there is a sessionstore.bak and sessionstore.js file on firefox, am i suppose to change .bak to JS? i tried that but it was name sessionstore(2).js instead. If i am to open restore previous session, should i do that in sessionsotre.js or sessionstore(2).js? (i tried doing that in sessionstore.js by clicking restore previous session but still it didn't work.) Please help!

jscher2000
  • Top 10 Contributor
2375 solutions 21032 answers

Hi cyl90089, copy all your sessionstore files to another folder in case things go wrong. When renaming files, make sure Firefox is closed. Next time it starts, it should look for sessionstore.js, not the numbered file. If that .bak file that you renamed didn't contain what you want, then try the recovery.

cyl90089 0 solutions 3 answers

Thank you for your help Jscher. I am not a technical person so i need a step by step guide. Can you help me with that? So step one is backing up the file, step 2 is rename bak to js? what is the third step? thanks so much in advance!

jscher2000
  • Top 10 Contributor
2375 solutions 21032 answers

Hi cyl90089, I think between your latest reply and my earlier long post, you've got almost all the steps. The last thing is to start Firefox and restore the previous session (e.g., from the History menu).

cyl90089 0 solutions 3 answers

Thanks! I understood your earlier post up to this point: Make your copy for safekeeping. Exit Firefox. Once Firefox has finished updating the files in the folder, rename sessionstore.js to sessionstore.old and copy your sessionstore.bak back and rename it to sessionstore.js.

Once firefox has finished updating. So do i assume the firefox will update automatically once i copied the file and exited?

jscher2000
  • Top 10 Contributor
2375 solutions 21032 answers

Hi cyl90089, you wrote:

Thanks! I understood your earlier post up to this point: Make your copy for safekeeping. Exit Firefox. Once Firefox has finished updating the files in the folder, rename sessionstore.js to sessionstore.old and copy your sessionstore.bak back and rename it to sessionstore.js.

Once firefox has finished updating. So do i assume the firefox will update automatically once i copied the file and exited?

What I meant was this: Somewhere between 5 and 20 seconds after closing Firefox, a bunch of the files in your profile folder get updated. You can see the timestamps change if you have Windows Explorer set to show the "Details" view. After that, it's safe to do the copy/rename procedures.

davidnrn12 0 solutions 2 answers

The reply locate folder, backup sessionstore.bak then use it to replace sessionstore.js worked ok but the .bak file was not the session I wanted.

I used this: To open your profile folder: Help menu > Troubleshooting Information > "Show Folder" button There is a session folder under that open it, choose the session you want to recover, double click it, tell windows to use firefox to open it, Firefox opens as far as the session select window, select your choice job done.

I am running firefox V21.0 win XP pro on a Dell D830 Laptop.

jscher2000
  • Top 10 Contributor
2375 solutions 21032 answers

Hi davidnrn12, Firefox only stores one session. If you need to go back further, unfortunately that isn't possible without an add-on. Both of these extend the session restore feature and might be worth a look if you anticipate having this requirement in the future:

davidnrn12 0 solutions 2 answers

Hi "Firefox only stores one session." Not true in my case guess it is because I am running Session Mgr 0.8.0.7 Been there so long thought it was part of Firefox. Attached sreenshot of my session folder.

Screw Firefox if it makes it too complicated to live. I'm switching to another browser. How many times I lost History => Restore Previous Session tabs with important info. Digging into History is too time consuming. I'm not a gamer! Don;t have time to waste. Thus I'm quitting FF and using Chrome and IE again, after many years. Bye-bye FF and bye-bye unreliable tab saving.