X
Tap here to go to the mobile version of the site.

Support Forum

How can I restore a previous session after a crash when it's not offered?

Posted

We had a power outage and when my computer came back on it just opened up a blank session. Restore previous session was not offered as an option - it was greyed out. I (probably stupidly) tried closing and reopening. I've now read a lot of ways to restore them, but many of them I don't really understand. I've found the profile folder, and made a copy of the sessionstore files. Instructions say to right click and press properties and then select "previous versions". This is where I come unstuck. I don't seem to have that as an option. There are tabs "general", "script" "security" and "details" all with multiple sub-options. I can't seem to find anything that says previous versions. I even followed one instruction that said to do this on the folder rather than the file, but there was no option titled "previous versions" on that either. I'm (unfortunately) using windows 8.

We had a power outage and when my computer came back on it just opened up a blank session. Restore previous session was not offered as an option - it was greyed out. I (probably stupidly) tried closing and reopening. I've now read a lot of ways to restore them, but many of them I don't really understand. I've found the profile folder, and made a copy of the sessionstore files. Instructions say to right click and press properties and then select "previous versions". This is where I come unstuck. I don't seem to have that as an option. There are tabs "general", "script" "security" and "details" all with multiple sub-options. I can't seem to find anything that says previous versions. I even followed one instruction that said to do this on the folder rather than the file, but there was no option titled "previous versions" on that either. I'm (unfortunately) using windows 8.

Chosen solution

To use an old sessionstore file in place of the current one, first, exit out of Firefox. Rename the sessionstore.js file to sessionstore.old, then rename the sessionstore.bak-datetime file to sessionstore.js. When you start up Firefox, if it is set to restore previous session windows and tabs it should pick that up. If it is set to start up with your home page, use History > Restore Previous Session.

Read this answer in context 5

Additional System Details

Installed Plug-ins

  • Shockwave Flash 14.0 r0
  • Google Update
  • Adobe PDF Plug-In For Firefox and Netscape 11.0.07
  • The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
  • iTunes Detector Plug-in
  • WildTangent Games App V2 Presence Detector
  • NPWLPG
  • The plug-in allows you to open and edit files using Microsoft Office applications
  • Office Authorization plug-in for NPAPI browsers

Application

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

More Information

jscher2000
  • Top 10 Contributor
7781 solutions 63380 answers

Could you drag and drop sessionstore.bak on an open Firefox tab to display its contents, then call up Find (Ctrl+f) and type http, then click Highlight All.

If you read down the page scanning the various URLs, does it look like the lost session or something more recent?

Could you drag and drop sessionstore.bak on an open Firefox tab to display its contents, then call up Find (Ctrl+f) and type http, then click Highlight All. If you read down the page scanning the various URLs, does it look like the lost session or something more recent?

Question owner

It's just the more recent version.

I've googled about windows 8 and previous versions. It said something about setting up file history, which it appears I haven't done. Newish computer, and I had no idea this was something I needed to do. Is that why I can't see "previous versions" I wonder?

It's just the more recent version. I've googled about windows 8 and previous versions. It said something about setting up file history, which it appears I haven't done. Newish computer, and I had no idea this was something I needed to do. Is that why I can't see "previous versions" I wonder?
jscher2000
  • Top 10 Contributor
7781 solutions 63380 answers

Helpful Reply

I have Windows 7 Professional, so my experience may not be typical, but I have previous versions from Restore Points (see attached). I can't tell what triggers these Restore Points, but I think I got an update for something yesterday that could explain one of them.

Perhaps this is obvious, but make sure you are right-clicking the "real" file in your profile folder, and not the backup copy.

Also, do you have the special file created during the Firefox 31 upgrade (sessionstore.bak-datetime)? That might be the most recent one available if nothing else pans out.

I have Windows 7 Professional, so my experience may not be typical, but I have previous versions from Restore Points (see attached). I can't tell what triggers these Restore Points, but I think I got an update for something yesterday that could explain one of them. Perhaps this is obvious, but make sure you are right-clicking the "real" file in your profile folder, and not the backup copy. Also, do you have the special file created during the Firefox 31 upgrade (sessionstore.bak-''datetime'')? That might be the most recent one available if nothing else pans out.
jscher2000
  • Top 10 Contributor
7781 solutions 63380 answers

Helpful Reply

I read about a roundabout way to get Previous Versions on the Properties dialog in Windows 8. I can't test this myself, but here's what you do:

In the address bar of your Windows Explorer dialog, replace the current path with the following and press Enter:

\\localhost\c$

Then click at the end and tack on the following (with your username) and press Enter:

\Users\username\AppData\Roaming\Mozilla\Firefox\Profiles

That should get you in the vicinity of your profile folder.

I read about a roundabout way to get Previous Versions on the Properties dialog in Windows 8. I can't test this myself, but here's what you do: In the address bar of your Windows Explorer dialog, replace the current path with the following and press Enter: \\localhost\c$ Then click at the end and tack on the following (with your username) and press Enter: \Users\''username''\AppData\Roaming\Mozilla\Firefox\Profiles That should get you in the vicinity of your profile folder.

Modified by jscher2000

Question owner

Thank you for your help.

That worked in that I could find the file, and get into previous versions. It's just that there aren't any listed. I tried both the file and the folder.

I have got a file with the datetime thing - it's from June, which may have to do. There's still stuff I won't have, but at least there'll be some stuff that I did still want.

What do I do with the file?

Thank you for your help. That worked in that I could find the file, and get into previous versions. It's just that there aren't any listed. I tried both the file and the folder. I have got a file with the datetime thing - it's from June, which may have to do. There's still stuff I won't have, but at least there'll be some stuff that I did still want. What do I do with the file?
jscher2000
  • Top 10 Contributor
7781 solutions 63380 answers

Chosen Solution

To use an old sessionstore file in place of the current one, first, exit out of Firefox. Rename the sessionstore.js file to sessionstore.old, then rename the sessionstore.bak-datetime file to sessionstore.js. When you start up Firefox, if it is set to restore previous session windows and tabs it should pick that up. If it is set to start up with your home page, use History > Restore Previous Session.

To use an old sessionstore file in place of the current one, first, exit out of Firefox. Rename the sessionstore.js file to sessionstore.old, then rename the sessionstore.bak-''datetime'' file to sessionstore.js. When you start up Firefox, if it is set to restore previous session windows and tabs it should pick that up. If it is set to start up with your home page, use History > Restore Previous Session.
cor-el
  • Top 10 Contributor
  • Moderator
16606 solutions 149981 answers

Make sure to keep a copy of that sessionstore.js file with the time stamp appended.

Make sure to keep a copy of that sessionstore.js file with the time stamp appended.

Question owner

Thank you so much for your help. It's opened in the one from June. Not quite what I was hoping for, but better than having none of it.

At least I now know that I can save a session in case it happens again.

Thank you so much for your help. It's opened in the one from June. Not quite what I was hoping for, but better than having none of it. At least I now know that I can save a session in case it happens again.
kyllapavitutta 0 solutions 1 answers

My Firefox reacts in no way to renaming sessionstore files to .old and .js. I believe that is because when I rename the .bak file to .js it won't turn into a javascript file and will remain a BAK file. So the name becomes .js.bak.

How can I rename it correctly?

I cannot even express how important tabs I had open, so any help would be just wonderful.

My Firefox reacts in no way to renaming sessionstore files to .old and .js. I believe that is because when I rename the .bak file to .js it won't turn into a javascript file and will remain a BAK file. So the name becomes .js.bak. How can I rename it correctly? I cannot even express how important tabs I had open, so any help would be just wonderful.
jscher2000
  • Top 10 Contributor
7781 solutions 63380 answers

To work accurately with file extensions, the best approach is to stop Windows from hiding them from you. This article has the steps: http://windows.microsoft.com/en-us/windows/show-hide-file-name-extensions

Some people prefer less clutter, so in that case, you can try putting quotation marks around the file name ("sessionstore.js") when saving it so Windows does not assume you want the previously used extension tacked on to the end.

To work accurately with file extensions, the best approach is to stop Windows from hiding them from you. This article has the steps: http://windows.microsoft.com/en-us/windows/show-hide-file-name-extensions Some people prefer less clutter, so in that case, you can try putting quotation marks around the file name ("sessionstore.js") when saving it so Windows does not assume you want the previously used extension tacked on to the end.
JamezTF 0 solutions 1 answers

I found a folder called "sessionstore-backups", and in that folder I found the most recent sessionstore named upgrade.js-datetime, copied it and renamed it "sessionstore.js" outside of the "sessionstore-backups" folder and restored all my previous tabs :)

I found a folder called "sessionstore-backups", and in that folder I found the most recent sessionstore named upgrade.js-datetime, copied it and renamed it "sessionstore.js" outside of the "sessionstore-backups" folder and restored all my previous tabs :)
charles_s 0 solutions 6 answers

jscher2000 said

To use an old sessionstore file in place of the current one, first, exit out of Firefox. Rename the sessionstore.js file to sessionstore.old, then rename the sessionstore.bak-datetime file to sessionstore.js. When you start up Firefox, if it is set to restore previous session windows and tabs it should pick that up. If it is set to start up with your home page, use History > Restore Previous Session.

I once done this before. Does this actively works for Firefox version 23?

''jscher2000 [[#answer-609003|said]]'' <blockquote> To use an old sessionstore file in place of the current one, first, exit out of Firefox. Rename the sessionstore.js file to sessionstore.old, then rename the sessionstore.bak-''datetime'' file to sessionstore.js. When you start up Firefox, if it is set to restore previous session windows and tabs it should pick that up. If it is set to start up with your home page, use History > Restore Previous Session. </blockquote> I once done this before. Does this actively works for Firefox version 23?
jscher2000
  • Top 10 Contributor
7781 solutions 63380 answers

Hi charles_s, if you don't mind, look for my reply in your thread here: https://support.mozilla.org/questions/1039825

Hi charles_s, if you don't mind, look for my reply in your thread here: https://support.mozilla.org/questions/1039825