Ever since I started using Firefox I configured the web browser to load the previous browsing session.
This was not overly comfortable in the beginning as all sites were loaded at once on browser start, but I was able to improve that first by using add-ons and then later on natively when Mozilla introduced what these add-ons offered natively in the browser.
I ran into my fair share of session restore issues and had to restore Firefox sessions manually more than once to restore previous sessions that Firefox would not load automatically.
Mozilla improved Firefox's session feature in Firefox 33 in 2014. The improvement makes the session restore feature more resilient against corruption so that it is less likely that sessions cannot be restored on start.
Session files are stored by Firefox in the user's profile folder. They contain data about the sites and windows that were open the time the browser was closed by the user but also information about closed windows and tabs.
Firefox stores information of up to 3 closed windows and 10 closed tabs (per tab) by default. You can change the values of the preferences browser.sessionstore.max_tabs_undo and browser.sessionstore.max_windows_undo to change those values on about:config.
While it is certainly possible to manipulate session information right in session files, it is not suggested as errors can render the file unusable.
Update: The add-on About Sessionstore is no longer available and there is no alternative available at the time of writing. End
The new Firefox add-on about sessionstore introduces a new about:page to Firefox which displays detailed information about the tabs and windows kept in session store.
After you have installed the add-on you can load about:sessionstore right away to display those information. The page lists the following information:
One interesting feature, besides displaying all those information on a single screen, is the option to delete closed tabs and closed windows information right on that page.
If you want Firefox to "forget" about previously opened tabs and windows, this is probably the most comfortable option to do so. A click on one of the forget buttons -- one for tabs and one for windows -- removes the information right away from the session file and the page is refreshed with the new information.
There are other methods to delete those information but none is as elegant as the one provided by the extension.
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.