Activating Session Restore in Firefox 2 Beta 1

Firefox 2 Beta 1 includes a new feature that restores your browsing session when the browser crashes. So, if you were looking at twenty different tabs when your browser froze or bit the dust, your tabs won’t go to wherever it is that electronic dust-bunnies end up.

Fire up your trusty browser and up will come all your tabs (along with a dialog box allowing you to stop this from happening, in case it was one of your open tabs that caused the crash in the first place).
But what if you want Firefox to always remember your browsing session? Out of the box, Firefox should restore your browsing session when you restart from the Add-On dialog and, I think, when you suffer a crash. I’m not sure if an installed extensions somehow disabled my copy of Firefox, but mine was unable to restore tabs after a crash or after a normal shutdown.

The fix is quite easy…

Open a new tab (Ctrl-T) in Firefox and type about:config in the address bar. This will take you to the secret place where Firefox stores all your preferences.

In the Filter box type sessions to show only those keys including the word “sessions”. You may or may not see several lines beggining with “browser.sessionstore.”.

You need three entries (or keys) in your configuration. These are:

browser.sessionstore.enabled | Type: boolean | Value: true

browser.sessionstore.interval | Type: integer | Value: 30000 (equals 30 seconds, adjust to taste)

browser.sessionstore.resume_session | Type: boolean | Value: true

My copy of Firefox also has the following key (the previous three I added myself):

browser.sessionstore.resume_session_once | Type: boolean | Value: true

If these keys exist in your Firefox config, then you should be all set to use session restore. If not, then you need to create each one by right-clicking anywhere on the page, selecting New, choosing the Type of key from the flyout menu, and entering the key name and Value when prompted.

Restart Firefox and you may now enjoy the comfort of session restore.

Blogged with Flock


  • Pingback: [ anonymonk ] » Activating Session Restore in Firefox 2 Beta 1()

  • Help me please…
    I just installed Firefox 2.0, and all of a sudden, my username/password isn't being inserted in the signon window (it always was before). I tried the usual suspects–I did not mistakenly tell FF not to remember the password for this site; and I also tried the remember password bookmarklet, but all to no avail–FF will not ask me to remember this password. What do I need to do to get around this?

  • Help me please…
    I just installed Firefox 2.0, and all of a sudden, my username/password isn't being inserted in the signon window (it always was before). I tried the usual suspects–I did not mistakenly tell FF not to remember the password for this site; and I also tried the remember password bookmarklet, but all to no avail–FF will not ask me to remember this password. What do I need to do to get around this?

  • sassycapri

    I had the same problem and your solution worked like a charm. Thanks much!

  • Please add firefox cookies/bad web sites immunization in next version!
    Firefox 2 cannot reject third party cookies!!!!!!!!

  • sassycapri

    I had the same problem and your solution worked like a charm. Thanks much!

  • Please add firefox cookies/bad web sites immunization in next version!
    Firefox 2 cannot reject third party cookies!!!!!!!!

  • By the way, the final version of Firefox 2.0 offers an easier way to do this. Go to “Tools | Options” (or “Firefox | Preferences” if on a Mac) and on the Main tab, set “When Firefox starts:” to “Show my windows and tabs from last time”.

  • Melvin, on which website are you having this problem?

    Try checking the Security tab on Firefox Options. Make sure “Remember passwords for sites” is checked and make sure the website isn’t listed under “Exceptions.”

  • @sassycapri:

    Glad to be of help. Please note there’s an even easier way to do this on the final version of Firefox 2.0.

  • By the way, the final version of Firefox 2.0 offers an easier way to do this. Go to “Tools | Options” (or “Firefox | Preferences” if on a Mac) and on the Main tab, set “When Firefox starts:” to “Show my windows and tabs from last time”.

  • Melvin, on which website are you having this problem?

    Try checking the Security tab on Firefox Options. Make sure “Remember passwords for sites” is checked and make sure the website isn’t listed under “Exceptions.”

  • @sassycapri:

    Glad to be of help. Please note there’s an even easier way to do this on the final version of Firefox 2.0.

  • sassycapri

    Perfect! Thanks again.

  • sassycapri

    Perfect! Thanks again.

  • re:Melvin

    Melvin:

    Some sites instruct the browser to not allow saving the password. This can be overridden using one of many available extensions in addons.mozilla.org, such as the one called “Annoyance Remover”.

  • re:Melvin

    Melvin:

    Some sites instruct the browser to not allow saving the password. This can be overridden using one of many available extensions in addons.mozilla.org, such as the one called “Annoyance Remover”.

  • bun

    i tried twice, the first time, i key in four entries, i managed to get the restore, but only once, then now i retry and only key in the three entries, but no restore word at all.
    please help.
    thank you.

  • bun

    i key in the last entry, and realised that that entry value keep changing to false every time i open firefox.

    can i make it fixed? if so, then my restore function will be worked.

    please advise.

    thank you.

  • bun

    i tried twice, the first time, i key in four entries, i managed to get the restore, but only once, then now i retry and only key in the three entries, but no restore word at all.
    please help.
    thank you.

  • bun

    i key in the last entry, and realised that that entry value keep changing to false every time i open firefox.

    can i make it fixed? if so, then my restore function will be worked.

    please advise.

    thank you.

  • Jack

    Show my windows and tabs from last time doesn’t seem to work when the entire system has to restart. Will anything work at that point? At times, Firefox becomes so full up that I have to close, at which point it gives you that “firefox is closing” choose to end now or not. It doesn’t seem to save so I tried rebooting the whole computer. Which option will allow the tabs to actually be saved?

  • Jack

    Show my windows and tabs from last time doesn’t seem to work when the entire system has to restart. Will anything work at that point? At times, Firefox becomes so full up that I have to close, at which point it gives you that “firefox is closing” choose to end now or not. It doesn’t seem to save so I tried rebooting the whole computer. Which option will allow the tabs to actually be saved?