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

Since ver 41.0.1 upgrade I cannot recover previous session and do not have sessionstore.js in profile. Files in sesstionstore backup are only current session

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

more options

There is no sessionstore file in profile folder. The recovery files in sessionstore_backup folder are only written for current session so there is no data for previous session. There only two files -- recovery.bak and recovery.js. Both files are the same are being updated in the current session.

There is no sessionstore file in profile folder. The recovery files in sessionstore_backup folder are only written for current session so there is no data for previous session. There only two files -- recovery.bak and recovery.js. Both files are the same are being updated in the current session.

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

more options

Make sure that you do not run Firefox in permanent Private Browsing mode (Never remember history).

  • Tools > Options > Privacy > Firefox will: "Use custom settings for history"
  • Deselect: [ ] "Always use Private Browsing mode"

Use one of these to close Firefox if you are currently doing that by clicking the close X on the Firefox title bar.

  • "3-bar" menu button > Exit (Power button)
  • Windows: File > Exit
  • Mac: Firefox > Quit Firefox
  • Linux: File > Quit

Firefox uses the sessionstore.js file in the profile folder to store session data, but this file is only present when Firefox is closed. The sessionstore.js file is created from recovery.js when you close Firefox and is removed and copied to previous.js when you start Firefox to make is possible to restore the session at any time.

You can try to make a backup copy of the recovery.js just before you want to close Firefox and place this file as sessionstore.js in the main profile folder to see if that at least makes Firefox restore the previous session.

more options

When Firefox crashes it does not create a sessionstore.js file since obviously it probably can't due the crash. Likewise ~\sessionstore_backup\previous.js is not created when Firefox crashes. So if you rarely close Firefox with Power Button, these files don't exist in the event of a crash. Nothing to do but manually copy session files periodically, but that gets old and easy to forget. Thanks.

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

more options

So the scenario is recovery after a Firefox crash, not recovery after orderly shutdown of Firefox. To recover from a crash, the recovery.js or sessionstore.js should be written to and saved periodically during a session by Firefox.