Restore previous session is retoring the wrong session
firefox is restoring the wrong session so im using a add on to restore.i tried deleting previous saves and one has an error on it
Additional System Details
- Shockwave Flash 11.4 r402
- Shockwave Flash 11.5 r502
- Shockwave Flash 11.7 r700
- Shockwave Flash 32.0 r0
- User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:67.0) Gecko/20100101 Firefox/67.0
Firefox restore the previous session from sessionstore.jsonlz4 in the profile folder, so if the wrong session is restored then there is a problem with this file.
Are you using a session managing extension?
You can check for problems with the sessionstore.jsonlz4 file in the Firefox profile folder that stores session data.
- delete sessionstore.jsonlz4 and sessionstore.js
When sessionstore.jsonlz4 is deleted you lose pinned tabs and open tabs and you will have to recreate them, so if necessary make a note or bookmark them.
You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.
- Help -> Troubleshooting Information -> Profile Directory:
Windows: Show Folder; Linux: Open Directory; Mac: Show in Finder
i thinked i tryed that but i cant find sessionstore.jsonlz4
Hi bullcv6, the sessionstore.jsonlz4 is created when Firefox exits/quits normally. If it's not there, possibly a different program removes it. Then at startup, Firefox goes looking for the next oldest session history file in the sessionstore-backups folder, which could be quite a bit older.
Can you think of any other software on your system that might clean Firefox data, such as CCleaner or Advanced System Care? You may want to set them not to touch Firefox data.
See also Troubleshooting:
tried that all
if this help the file i cant delete is called recovery.baklz4 and every time i get an error 0x80070570 who do i get rid of it
Hi bullcv6, there probably is a Windows-level solution to removing a corrupted file, but if I could suggest a possible workaround. That would be to rename the sessionstore-backups folder and let Firefox create a new one. Here's my suggested procedure:
Open your current Firefox settings (AKA Firefox profile) folder using either
- "3-bar" menu button > "?" Help > Troubleshooting Information
- (menu bar) Help > Troubleshooting Information
- type or paste about:support in the address bar and press Enter
In the first table on the page, on the Profile Folder row, click the "Open Folder" button. This should launch a new window listing various files and folders in Windows Explorer.
Leaving that window open, switch back to Firefox and Exit, either:
- "3-bar" menu button > Exit
- (menu bar) File > Exit
Pause while Firefox finishes its cleanup, then right-click sessionstore-backups and click Rename, then add OLD at the end so it reads sessionstore-backupsOLD and click away to complete the edit. Hopefully Windows lets you do that?
Then when you start Firefox, it should create a new sessionstore-backups folder and you won't be haunted by the corrupte file.
Does that work?
Maybe also run chkdsk.exe as administrator (chkdsk.exe /f /r) in case the hard drive is corrupted.
rename fail now i have to reopen my session the hard way the chkdsk.exe has an $i30 error
rename fail now i have to reopen my session the hard way
Or undo the rename.