Firefox – Where does Firefox store the opened windows/tabs/URLs for session restore after a crash

browser-tabscrashfirefoxrestoresession

In which location and file does Firefox save the last windows I had opened (when Firefox crashed)?

I have a complete "hot dump" copy of a file system and need to restore the state Firefox was when the system crashed, but I cannot restore the full backup itself. I can only extract the files of Firefox, but I do not know in which files I have to search for the URLs that were last opened when the snapshot of the whole file system was done.

Best Answer

It's in sessionstore.js in your profile directory. It can be moved to a different profile without problem.

(This might also show sessionstore.bak, which is a backup of the previous version of that file.)