MozillaZine

Session Restore

From MozillaZine Knowledge Base

(Difference between revisions)
Revision as of 00:52, 27 October 2006
Alice Wyman (Talk | contribs)
(External links - added "Session store API" article from developer.mozilla.org)
<-- Previous diff
Revision as of 15:48, 27 October 2006
Asqueella (Talk | contribs)

Next diff -->
Line 1: Line 1:
-Firefox 2 comes with a built in Session Manager that saves your session data including open windows and tabs, window size and position and text typed in forms. Session data is stored in the "sessionstore.js" file, located in the [[profile folder]]. +Firefox 2 comes with a built in Session Store feature that saves your session data including open windows and tabs, window size and position, and text typed in forms. Session data is stored in the "sessionstore.js" file, located in the [[profile folder]].
-By default, Firefox will offer to restore your session after a crash, an automatic update, or when using the restart button from the Add-ons Manager. To disable this feature, set [[browser.sessionstore.enabled]] to false. +By default, Firefox will offer to restore your session after a crash, an automatic update, or when using the restart button from the Add-ons Manager. To disable this feature, set [[browser.sessionstore.enabled]] to "false".
==Crash recovery== ==Crash recovery==

Revision as of 15:48, 27 October 2006

Firefox 2 comes with a built in Session Store feature that saves your session data including open windows and tabs, window size and position, and text typed in forms. Session data is stored in the "sessionstore.js" file, located in the profile folder.

By default, Firefox will offer to restore your session after a crash, an automatic update, or when using the restart button from the Add-ons Manager. To disable this feature, set browser.sessionstore.enabled to "false".

Contents

Crash recovery

If a site's content caused your crash (e.g. a plugin is crashing) restoring your session may restore that page and cause Firefox to crash again. If Firefox keeps crashing after choosing "Restore Session," choose "Start New Session."

Always restore sessions on start

By default this feature is off, but can be turned on from the Options/Preferences menu. In the Main panel, under Startup set "When Firefox starts" to "Show my windows and tabs from last time". This will have Firefox restore your tabs and form data to their state when Firefox closed (the related preference is browser.startup.page).

If you want Firefox to restore multiple windows you need to close Firefox via File -> Exit. Closing the windows one at a time will cause Firefox to only restore the last window that was closed.

Restoring a session once

Set browser.sessionstore.resume_session_once to "true" in about:config and it will restore your session the next time you start Firefox, but not again.

External links