본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Can't restore previous session despite replacing sessionstore.js

  • 4 답장
  • 11 이 문제를 만남
  • 1 보기
  • 최종 답변자: cor-el

more options

Despite following various routines to rename sessionstore.bak file to .old and then replacing sessionstore.js with *.bak, then re-starting Fireox, the previous session is not restored. Firefox simply ignores the "old" session and starts a new one - even if you have altered the options to open up all the previous tabs.

The session I am interested in recovering had 30 tabs open, with no tab referencing a site that would cause it to crash. This occurred through the annoying situation that occurs when another copy of Firefox is started behind the browser you are working on, and you need to close Firefox to restart your computer after installing updates.

On closure of Firefox, a warning should be made that you are 'closing' a number of tabs and warn that there are other copies of Firefox also open, before being allowed to close.

Even so, replacing the most recent sessionstore.js file with a recovered one (whether .bak, or a previous file that has been 'undeleted') should allow a restore to a previous session (on a particular date or time - even from a restored backup file).

Can someone assist with this?

Despite following various routines to rename sessionstore.bak file to .old and then replacing sessionstore.js with *.bak, then re-starting Fireox, the previous session is not restored. Firefox simply ignores the "old" session and starts a new one - even if you have altered the options to open up all the previous tabs. The session I am interested in recovering had 30 tabs open, with no tab referencing a site that would cause it to crash. This occurred through the annoying situation that occurs when another copy of Firefox is started behind the browser you are working on, and you need to close Firefox to restart your computer after installing updates. On closure of Firefox, a warning should be made that you are 'closing' a number of tabs and warn that there are other copies of Firefox also open, before being allowed to close. Even so, replacing the most recent sessionstore.js file with a recovered one (whether .bak, or a previous file that has been 'undeleted') should allow a restore to a previous session (on a particular date or time - even from a restored backup file). Can someone assist with this?

글쓴이 AJNiteOwl 수정일시

모든 댓글 (4)

more options

On each Firefox start Firefox copies the current sessionstore.js file that has the tabs of the previous session to sessionstore.bak to make is possible to retrieve that previous session at any time during the current session via "History > Restore Previous Session".

If you do not have a copy of sessionstore.js or sessionstore.bak with that lost session then you are out of luck and can consider that session as lost.

You need to rename sessionstore.bak to sessionstore.js to make Firefox use the file.
Firefox doesn't do anything with a sessionstore.bak file apart from what I wrote above.

Make it a habit and use "Firefox/File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit") to close Firefox if you are currently doing that by clicking the close X on the title bar to avoid getting surprised by other windows that are still open.
Only the last closed Firefox window is restored.
Other browser windows may be found under History > Recently Closed Windows.

more options

Cor-el did you even read the main issue - being the replacement of the sessionstore.js file and the inability of FF to read and restore from it?

I take your point about using the File>Exit and will try this in future to see if the problem can be avoided. Thanks.

more options

I used this moving/renaming of the sessionstore file, as well. It does not work.

What I do have, is a long string of code where I can see the information about the prior tabs, so I know the information is there.

In other words, Firefox is not using the renamed sessionstore file (from bak to js - moved from original window to folder - renamed and moved back) to restore my tabs when I open a new Firefox browser/window.

However, if I double-click on that sessionstore file, it will open up a Firefox window and display a single line at the top with this very long string of code, where I can see the actual names of the tabs I had open and pages I was visiting.

So, my question is, how do I translate all that information into separate windows/tabs.

It's there. It's just not functioning as it should (opening up multiple tabs - or restoring those tabs) when the Firefox Browser is opened.

Thank you

글쓴이 ashleyer 수정일시

more options

See: