Session restore disabled after crash
Moderator: trava90
Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
-
- Fanatic
- Posts: 144
- Joined: 2012-08-30, 04:22
- Location: USA
Session restore disabled after crash
Operating system:Windows 10
Browser version: 32.1
32-bit or 64-bit browser?: 64
I just had freeze where I had to manually shut down my PC and restart, and when I launched PM, it just opened up my homepage. Normally, it would restore my windows and tabs, or show the Session Restore screen. In all my years of using PM this has never happened and I never even relied on any session manager add-ons because PM would always so reliably remember my browser state during restarts or crashes.
Is there anything I can do to salvage my windows and tabs? It’s not the end of the world but there are lots of them over three windows and I’m just too used to working with them that way. The option to reopen closed windows or tabs is greyed out so I’m not sure what to do.
Browser version: 32.1
32-bit or 64-bit browser?: 64
I just had freeze where I had to manually shut down my PC and restart, and when I launched PM, it just opened up my homepage. Normally, it would restore my windows and tabs, or show the Session Restore screen. In all my years of using PM this has never happened and I never even relied on any session manager add-ons because PM would always so reliably remember my browser state during restarts or crashes.
Is there anything I can do to salvage my windows and tabs? It’s not the end of the world but there are lots of them over three windows and I’m just too used to working with them that way. The option to reopen closed windows or tabs is greyed out so I’m not sure what to do.
Re: Session restore disabled after crash
Try to find and save (copy somewhere) sessionstore.bak and sessionstore.js in the PM profile directory. Do not close PM if active, or do no open if it is closed !
What are the sizes of these files?
What are the sizes of these files?
-
- Fanatic
- Posts: 144
- Joined: 2012-08-30, 04:22
- Location: USA
Re: Session restore disabled after crash
I have both files in my profile under AppData > Roaming. The .bak file is about 4.5 Mb and the .js is just 1 kb.
Re: Session restore disabled after crash
Good.groundhog2 wrote: ↑2023-03-30, 21:00I have both files in my profile under AppData > Roaming. The .bak file is about 4.5 Mb and the .js is just 1 kb.
Save both in a safe place.
Then delete .js and rename .bak to .js in the PM profile folder.
-
- Fanatic
- Posts: 144
- Joined: 2012-08-30, 04:22
- Location: USA
Re: Session restore disabled after crash
Did that. Do I just restart PM?Kris_88 wrote: ↑2023-03-30, 21:07Good.groundhog2 wrote: ↑2023-03-30, 21:00I have both files in my profile under AppData > Roaming. The .bak file is about 4.5 Mb and the .js is just 1 kb.
Save both in a safe place.
Then delete .js and rename .bak to .js in the PM profile folder.
-
- Fanatic
- Posts: 144
- Joined: 2012-08-30, 04:22
- Location: USA
Re: Session restore disabled after crash
Re: Session restore disabled after crash
Maybe the .js file is damaged ...groundhog2 wrote: ↑2023-03-30, 21:14Hm, no, it just shows my homepage again, and the .bak file now in the profile folder is 1 kb in size.
But here it is difficult for me to do something through the forum.
Do not delete saved files, since the larger of them (4.5 MB) contains your lost tabs.
Wait, maybe someone here will help better than me.
Re: Session restore disabled after crash
BTW, you can open it with notepad and see.
Re: Session restore disabled after crash
It's likely just corrupted due to the forced shutdown.
Inspect the 4.5MB file and see if it looks like proper json code. Maybe run it through a json repair tool if it looks OK at first glance -- you can't really do that manually at that size.
Inspect the 4.5MB file and see if it looks like proper json code. Maybe run it through a json repair tool if it looks OK at first glance -- you can't really do that manually at that size.
"The best revenge is to not be like the person who wronged you." -- Marcus Aurelius
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
-
- Fanatic
- Posts: 144
- Joined: 2012-08-30, 04:22
- Location: USA
Re: Session restore disabled after crash
Opening the 4.5 Mb .bak file with Notepad just shows a blank page. I’m afraid it must’ve been corrupted with no way to retrieve the data… Trying a couple of online JSON repair tools, they either time out or show errors.
Re: Session restore disabled after crash
if it's blank in notepad then your tabs/windows were lost. Trying to repair a blank file is not going to work.
For a relatively quick recovery of sites you used daily, I suggest using your browsing history.
For a relatively quick recovery of sites you used daily, I suggest using your browsing history.
"The best revenge is to not be like the person who wronged you." -- Marcus Aurelius
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
-
- Fanatic
- Posts: 144
- Joined: 2012-08-30, 04:22
- Location: USA
Re: Session restore disabled after crash
Yup, I'll have to go and do that, I'm sure I'll be able to get back most of the more important pages, I just had them in a specific order that's become second nature to me, so it will be difficult to adjust now. I did install the Session Manager from the PM add-ons page, hopefully this can prevent something like this happening in the future. How should I use it best?
Re: Session restore disabled after crash
Note, you can drag tabs around to order them as you will. dragging them out of the tab bar will spawn a new window if you want to use multiple windows. you can drag and drop to organize tabs to your heart's content.groundhog2 wrote: ↑2023-03-30, 21:51I just had them in a specific order that's become second nature to me
"The best revenge is to not be like the person who wronged you." -- Marcus Aurelius
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
- back2themoon
- Moon Magic practitioner
- Posts: 2173
- Joined: 2012-08-19, 20:32
Re: Session restore disabled after crash
That's a great extension. Default settings should be ok, but also take a look here: (original website looks dead, unfortunately?)groundhog2 wrote: ↑2023-03-30, 21:51I did install the Session Manager from the PM add-ons page, hopefully this can prevent something like this happening in the future. How should I use it best?
https://web.archive.org/web/20200131044 ... tions.html
Safe Mode / clean profile info: Help/Restart in Safe Mode
Information to include when asking for support - How to apply user agent overrides
How to auto-fill passwords
Windows 10 Pro x64
Information to include when asking for support - How to apply user agent overrides
How to auto-fill passwords
Windows 10 Pro x64