AnimeSuki Forums

Register Forum Rules FAQ Community Today's Posts Search

Go Back   AnimeSuki Forum > Support > Tech Support

Notices

Reply
 
Thread Tools
Old 2013-03-06, 17:55   Link #1
Dante of the Inferno
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.
__________________
I'm not afraid of tomorrowI'm only scared of myself
Dante of the Inferno is offline   Reply With Quote
Old 2013-03-07, 04:17   Link #2
Dante of the Inferno
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.
__________________
I'm not afraid of tomorrowI'm only scared of myself
Dante of the Inferno is offline   Reply With Quote
Old 2013-03-07, 05:02   Link #3
Irenicus
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
Irenicus is offline   Reply With Quote
Old 2014-03-04, 22:46   Link #4
applesauce
Junior Member
 
Join Date: Mar 2014
Quote:
Originally Posted by Dante of the Inferno View Post
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.
This solved my problem. You are the best!!
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
applesauce is offline   Reply With Quote
Old 2014-03-05, 02:37   Link #5
Dante of the Inferno
Turnin' the Tables
 
 
Join Date: Feb 2008
Location: Where dimensions collide...
Age: 36
Quote:
Originally Posted by applesauce View Post
This solved my problem. You are the best!!
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
Thanks! I really appreciate the feedback. One great reason to use Firefox: the data files are open-source! One way to spare yourself the pain of relying on the session files is to use the add-on Session Manager. It lets you create as many sessions as you want, label them however you wish (say "Pre-FF27 Update"), and even create auto-saving sessions. It will also allow you to save the session files to another folder, should you want that extra layer of protection. It's a life-saver.

Btw, the current tab count is 860, down from 1350.
__________________
I'm not afraid of tomorrowI'm only scared of myself
Dante of the Inferno is offline   Reply With Quote
Old 2014-03-06, 10:21   Link #6
Jaden
Senior Member
 
 
Join Date: Jan 2006
I'm confused, why is it that you keep all those tabs open? And how?? I can open like 20 before my RAM usage maxes out. Besides, it gets super awkward navigating between them.
__________________
Jaden is offline   Reply With Quote
Old 2014-03-11, 21:29   Link #7
Sackett
Cross Game - I need more
 
 
Join Date: Apr 2009
Location: I've moved around the American West. I've lived in Oregon, Washington, Utah, and Oklahoma
Age: 44
Wow... I've never gone above 250 tabs open at one time
__________________

Cross Game - A Story of Love, Life, Death - and Baseball. What more could you want?
Sackett is offline   Reply With Quote
Reply

Tags
backup, firefox, restore, session, tabs


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 13:17.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
We use Silk.