We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

تلاش سپورٹ

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

مزید سیکھیں

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 جواب دیں
  • 1 میں یہ مسئلہ ہے
  • 8 دیکھیں
  • آخری جواب بذریعہ 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.

تمام جوابات (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.

ronin_7 کی جانب سے میں ترمیمکی گئ

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.