Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

Restoring session from sessionstore.bak file

  • 2 trả lời
  • 24 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi mark2

more options

I'm trying to recover a session lost after a system crash,I have a sessionstore.bak file from the time of this crash (about 1.8Mb),and a sessionstore-1.js file which I assume is a leftover from some time ago and not relevant for this issue:copying this .bak file in the profile folder and renaming it to .js has not restored my session, indeed only one of the 10 windows I had open at that time is now restored-Firefox is set to show windows and tabs from the last time,so why this is not working?

After that crash,not only my profile was missing but the cache folders as well,it all got moved in a C:something directory,maybe I should recover the cache folder also to restore the session?

Is there any other reason why a sessionstore.bak file could not be used to successfully reopen the last session?

I'm trying to recover a session lost after a system crash,I have a '''sessionstore.bak''' file from the time of this crash (about 1.8Mb),and a '''sessionstore-1.js''' file which I assume is a leftover from some time ago and not relevant for this issue:copying this '''.bak''' file in the profile folder and renaming it to '''.js''' has not restored my session, indeed only one of the 10 windows I had open at that time is now restored-Firefox is set to show windows and tabs from the last time,so why this is not working? After that crash,not only my profile was missing but the cache folders as well,it all got moved in a C:something directory,maybe I should recover the cache folder also to restore the session? Is there any other reason why a sessionstore.bak file could not be used to successfully reopen the last session?

Được chỉnh sửa bởi mark2 vào

Tất cả các câu trả lời (2)

more options

Is there anything in the History > Recently Closed Windows menu ?

You should remove numbered sessionstore-##.js files (sessionstore-1.js). Those shouldn't be there and usually indicate that other software is accessing the main sessionstore.js file that Firefox rewrites every 10 seconds.

more options

Thanks for your answer cor-el,I've just successfully restored this 100-ish tabs session from that sessionstore.bak file,what I've done is

  *  copy sessionstore.bak  in the profile folder,rename it to .js
  • replace the cache folders moved in the "recovered files" directory back in their original location
  • replace a couple of missing userchrome.css files with some others from a previous backup
  • delete that sessionstore-1.js as you suggested

Honestly now I have no clue about the deciding factor,but the pre-crash session is back exactly as it was,I wonder if the cache files are also essential to reopen such a large session (I also have BarTab installed,maybe this extension needs the cache files to work properly?)

Now about that sessionstore-##.js files you were pointing at,I assume the external programs accessing Firefox would be some security software,or do I have to search now for some out of control application ?

Được chỉnh sửa bởi mark2 vào