Поиск в Поддержке

Избегайте мошенничеств со службой поддержки. Мы никогда не просим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Сообщить о нарушении».

Learn More

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

  • 13 ответов
  • 30 имеют эту проблему
  • 98058 просмотров
  • Последний ответ от jscher2000

more options

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.

Выбранное решение

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.

Прочитайте этот ответ в контексте 👍 5

Все ответы (13)

more options

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?

more options

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?

more options

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.

more options

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.

Изменено jscher2000

more options

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?

more options

Выбранное решение

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.

more options

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

more options

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.

more options

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.

more options

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.

more options

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

more options

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?

more options

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