2013-03-06, 17:55 | Link #1 |
Turnin' the Tables
Join Date: Feb 2008
Location: Where dimensions collide...
Age: 36
|
Firefox Restore Session
I use Firefox 19 on Windows 7 pretty regularly, and typically shut down Firefox the normal way. Today, I needed to install a web-plugin on my computer for a class, and it said that Firefox needed to be closed first. So, I closed Firefox, and the Task Manager showed that it was gone, but the Processes tab showed it very much alive. As such, I ended the process tree, and Firefox went away. After install the plug-in, I restarted Firefox, and the only thing that loaded was the homepage. No tabs.
Typically, this wouldn't be an issue. However, I have A LOT of tabs. How many? About....740-ish tabs just before the shutdown. I shut down and restart Firefox about once a day, but I never have any issue. Before letting panic set in, I rushed to enter %appdata% in the Start Bar, and opened up roaming/Mozilla/profiles/XXXXXXX/and found a few sessionstore.js (sessionstore.js, sessionstore-01.js, etc) files and the sessionstore.bak file. Now, my current sessionstore.js file is 0 KB, which is obviously bad, but my sessionstore.bak file is 3,279 KB. So, I copied over ALL of these files into a safe external folder, renamed the sessionstore.bak file to sessionstore.js, and restarted Firefox. However, instead of restoring like a regular .js file, all it does is revert the file to sessionstore.bak and create a NEW file sessionstore.js. When I go to rename another file (sessionstore-3.js to sessionstore.js) and restart Firefox, it works fine. Is there something different about the .bak file that it needs to be altered (more than just renaming the file type) in order for Firefox 19 to properly restore from it? Any help or insight would be greatly appreciated.
__________________
|
2013-03-07, 04:17 | Link #2 |
Turnin' the Tables
Join Date: Feb 2008
Location: Where dimensions collide...
Age: 36
|
Sure enough. I worked with a test copy of the sessionstore.bak file by renaming it sessionstore.txt. The header of the file started as follows:
{"windows":[],"selectedWindow":0,"_closedWindows":[{"tabs":[{"entries": Now, I also renamed one of the working sessionstore.js files to sessionstore.txt and found the difference staring me in the face: {"windows":[{"tabs":[{"entries": Because of how Firefox was closed, it inserted the additional [],"selectedWindow":0,"_closedWindows": which royally screwed up the restore procedure. It wouldn't even give me an option to restore from a previous session. Once I remove that segment, I renamed is sessionstore.js, and presto. Hope this helps anyone who should ever come across so annoying a bug.
__________________
|
2013-03-07, 05:02 | Link #3 |
Le fou, c'est moi
Join Date: Dec 2007
Location: Las Vegas, NV, USA
Age: 34
|
Interesting. Have you reported this to Mozilla? They might be able to do something about it or they might say it's WAD (since you disabled the process through the task manager and they might have added that code for something else), but it's worth a try.
And lol, 740+ tabs. I've never had more than two dozen at most /noob |
2014-03-04, 22:46 | Link #4 | |
Junior Member
Join Date: Mar 2014
|
Quote:
I just wanted to say thank you... I could not figure this out for the last 5 hours and I was going crazy/// I literally just registered to this website to thank you. Thanks again |
|
2014-03-05, 02:37 | Link #5 | |
Turnin' the Tables
Join Date: Feb 2008
Location: Where dimensions collide...
Age: 36
|
Quote:
Btw, the current tab count is 860, down from 1350.
__________________
|
|
Tags |
backup, firefox, restore, session, tabs |
|
|