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

Firefox froze upon reopening without going into my last session. How do I protect my last browsing session so that I can safely restart the browser?

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

more options

Firefox froze upon reopening without going into my last session. How do I protect my last browsing session so that I can safely restart the browser?

Firefox froze upon reopening without going into my last session. How do I protect my last browsing session so that I can safely restart the browser?

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

more options

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.

Backup the session files in the sessionstore-backups folder in the Firefox Profile Folder to make sure not to lose possible important session data. Do NOT close Firefox when Firefox is already running.

You will normally find these files in the sessionstore-backups folder:

previous.js (cleanBackup: copy of sessionstore.js from previous session that was loaded successfully)
recovery.js (latest version of the sessionstore written during runtime)
recovery.bak (previous version of the sessionstore written during runtime)
upgrade.js-<build_id> (backup created during an upgrade of Firefox)

You can copy a file from the sessionstore-backups folder to the main profile and rename the file to sessionstore.js to replace the current file (make a backup copy of the current sessionstore.js).

See also:


Location used for the main profile in "AppData\Roaming".

  • C:\Users\<user>\AppData\Roaming\Mozilla\Firefox\Profiles\<profile>\
more options

So does that mean since Firefox is currently open, the previous session is gone forever?

Although FF is still open, all that is showing is a small bar with the option to minimize or close. The expand icon is grayed out

more options

So does that mean since Firefox is currently open, the previous session is gone forever?

Although FF is still open, all that is showing is a small bar with the option to minimize or close. The expand icon is grayed out

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

more options

You could try to backup sessionstore.js and the files in the sessionstore-backups folder if they look large enough that they could contain useful data.

You can open the file in the Scratchpad ("3-bar" menu button or Tools > Web Developer) to check its content. Click the "Pretty Print" button on its toolbar to format the file for readability.

Also check "History > Recently Closed Tabs/Windows".

If none of the files contain useful session data then I'm afraid that this data is lost.

See also:

more options

Is it possible that FF could unfreeze and then I could click on the top right menu to reopen last browsing session?

more options

Did you check any of the existing files in the Scratchpad to see if any have this session data?

more options

The files are not there