X
Tap here to go to the mobile version of the site.

Support Forum

How to restore session when sessionstore.js/.bak is corrupted

Posted

Hello. Here we go again with the same (very) old and (very) annoying story. Windows 7 somehow decides to freeze, forcing me to force shut down. And guess what? That's right. My Firefox session is gone..

What's that? Try to search sessionstore.bak to see if it stored the previous session before it was gone? Ok that'll work. Except that sessionstore.bak even if it has the correct time and it's 2.30 MB it contains nothing more but many many empty spaces.

Tried restoring previous file version method, didn't work. (I probably had this function disabled). Tried Recuva program to restore deleted files, found the correct one (.js) only to be the same with the current (containing spaces). Found another almost 2 weeks old (.js), 3.02 MB, contains weird characters and a list of registry keys that are uncompleted(?). Tried copying the contents of that file to that site "herokuapp" ("When All Else Has Failed" - Why this should not), didn't work probably because there aren't any valid tab websites in there.

So here's a suggestion to Firefox developers and those who are involved with it: The .bak file was a good idea. It stores the previous session when something goes horribly wrong. But what if that file gets corrupted or accidentally replaced? You should add an alternative backup method. Another file that will store the session ONCE at the beginning of EACH new day, even if Firefox had not been shut down. Also add a friendly option to access this file through Firefox from its menu. That will save a lot of headaches, a lot of time and more. I am sure this wouldn't be hard for you. And please do not rely on third-party add-ons for this, it should be an official working function. TABS = FIREFOX, keep the tradition, keep it good.

So, is there really another way of accessing my lost tabs (or websites) without these files? I mean except from going through hell (History), which is considered my only option right now, and I don't even remember most of my tabs. What's even worse I don't keep the pages loaded to save memory avoiding Firefox crashes, Flash plugin crashes and extremely painful slow downs, when I don't quit Firefox for a few days. Unless I am missing something here.

Please help and thanks.

Hello. Here we go again with the same (very) old and (very) annoying story. Windows 7 somehow decides to freeze, forcing me to force shut down. And guess what? That's right. My Firefox session is gone.. What's that? Try to search sessionstore.bak to see if it stored the previous session before it was gone? Ok that'll work. Except that sessionstore.bak even if it has the correct time and it's 2.30 MB it contains nothing more but many many empty spaces. Tried restoring previous file version method, didn't work. (I probably had this function disabled). Tried Recuva program to restore deleted files, found the correct one (.js) only to be the same with the current (containing spaces). Found another almost 2 weeks old (.js), 3.02 MB, contains weird characters and a list of registry keys that are uncompleted(?). Tried copying the contents of that file to that site "herokuapp" ("When All Else Has Failed" - Why this should not), didn't work probably because there aren't any valid tab websites in there. So here's a suggestion to Firefox developers and those who are involved with it: The .bak file was a good idea. It stores the previous session when something goes horribly wrong. But what if that file gets corrupted or accidentally replaced? You should add an alternative backup method. Another file that will store the session ONCE at the beginning of EACH new day, even if Firefox had not been shut down. Also add a friendly option to access this file through Firefox from its menu. That will save a lot of headaches, a lot of time and more. I am sure this wouldn't be hard for you. And please do not rely on third-party add-ons for this, it should be an official working function. TABS = FIREFOX, keep the tradition, keep it good. So, is there really another way of accessing my lost tabs (or websites) without these files? I mean except from going through hell (History), which is considered my only option right now, and I don't even remember most of my tabs. What's even worse I don't keep the pages loaded to save memory avoiding Firefox crashes, Flash plugin crashes and extremely painful slow downs, when I don't quit Firefox for a few days. Unless I am missing something here. Please help and thanks.

Additional System Details

Installed Plug-ins

  • Shockwave Flash 12.0 r0
  • NVIDIA 3D Vision plugin for Mozilla browsers
  • NVIDIA 3D Vision Streaming plugin for Mozilla browsers
  • Next Generation Java Plug-in 10.51.2 for Mozilla browsers
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • VLC media player Web Plugin 2.1.0
  • 5.1.20913.0
  • Adobe PDF Plug-In For Firefox and Netscape 10.1.8
  • The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
  • A plugin to detect whether the Adobe Application Manager is installed on this machine.
  • Unity Player 3.5.2f2
  • NPWLPG
  • The plug-in allows you to open and edit files using Microsoft Office applications
  • Office Authorization plug-in for NPAPI browsers

Application

  • Firefox 26.0
  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0
  • Support URL: http://support.mozilla.com/1/firefox/26.0/WINNT/en-GB/eu/

Extensions

  • Adblock Plus 2.4.1 ({d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d})
  • Greek Spelling dictionary 0.8.5 (el-GR@dictionaries.addons.mozilla.org)
  • IDM CC 7.3.68 (mozilla_cc@internetdownloadmanager.com)
  • JSONView 0.7 (jsonview@brh.numbera.com)
  • Session Manager 0.8.0.8 ({1280606b-2510-4fe0-97ef-9b5a22eafe30})
  • Tab Mix Plus 0.4.1.2.02 ({dc572301-7619-498c-a57d-39143191b318})
  • Troubleshooter 1.1a (troubleshooter@mozilla.org)
  • YouTube quality manager 1.2 (youtubequality@rzll)
  • Anti-Banner 14.0.0.4837 (anti_banner@kaspersky.com) (Inactive)
  • Dangerous Websites Blocker 14.0.0.4837 (content_blocker@kaspersky.com) (Inactive)
  • Download Statusbar 0.9.10 ({D4DD63FA-01E4-46a7-B6B1-EDAB7D6AD389}) (Inactive)
  • DownloadHelper 4.9.21 ({b9db16a4-6edc-47ec-a1f4-b86292ed211d}) (Inactive)
  • DVDVideoSoft YouTube MP3 and Video Download 4.2.1.9 ({ACAA314B-EEBA-48e4-AD47-84E31C44796C}) (Inactive)
  • Kaspersky URL Advisor 14.0.0.4837 (url_advisor@kaspersky.com) (Inactive)
  • Safe Money 14.0.0.4837 (online_banking@kaspersky.com) (Inactive)
  • Skype Click to Call 6.13.0.13771 ({82AF8DCA-6DE9-405D-BD5E-43525BDAD38A}) (Inactive)
  • Virtual Keyboard 14.0.0.4837 (virtual_keyboard@kaspersky.com) (Inactive)

Javascript

  • incrementalGCEnabled: True

Graphics

  • adapterDescription: Intel(R) HD Graphics 3000
  • adapterDescription2: NVIDIA GeForce GT 525M
  • adapterDeviceID: 0x0116
  • adapterDeviceID2: 0x0df5
  • adapterDrivers: igdumd64 igd10umd64 igd10umd64 igdumd32 igd10umd32 igd10umd32
  • adapterDrivers2: nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um
  • adapterRAM: Unknown
  • adapterRAM2: 1024
  • adapterVendorID: 0x8086
  • adapterVendorID2: 0x10de
  • direct2DEnabled: True
  • directWriteEnabled: True
  • directWriteVersion: 6.2.9200.16571
  • driverDate: 8-21-2012
  • driverDate2: 12-19-2013
  • driverVersion: 9.17.10.2843
  • driverVersion2: 9.18.13.3221
  • info: {u'AzureCanvasBackend': u'direct2d', u'AzureFallbackCanvasBackend': u'cairo', u'AzureContentBackend': u'direct2d', u'AzureSkiaAccelerated': 0}
  • isGPU2Active: False
  • numAcceleratedWindows: 1
  • numTotalWindows: 1
  • webglRenderer: Google Inc. -- ANGLE (Intel(R) HD Graphics 3000 Direct3D9Ex vs_3_0 ps_3_0)
  • windowLayerManagerRemote: False
  • windowLayerManagerType: Direct3D 10

Modified Preferences

  • accessibility.typeaheadfind.flashBar: 0
  • browser.cache.disk.capacity: 358400
  • browser.cache.disk.smart_size.first_run: False
  • browser.cache.disk.smart_size.use_old_max: False
  • browser.cache.disk.smart_size_cached_value: 358400
  • browser.display.background_color: #C0C0C0
  • browser.display.use_system_colors: True
  • browser.places.smartBookmarksVersion: 4
  • browser.search.useDBForOrder: false
  • browser.sessionstore.upgradeBackup.latestBuildID: 20131205075310
  • browser.startup.homepage: http://www1.euro.dell.com/content/default.aspx?c=cy&l=en&s=gen
  • browser.startup.homepage_override.buildID: 20131205075310
  • browser.startup.homepage_override.mstone: 26.0
  • browser.tabs.onTop: False
  • browser.tabs.warnOnClose: False
  • dom.max_script_run_time: 40
  • dom.mozApps.used: True
  • dom.w3c_touch_events.expose: False
  • extensions.lastAppVersion: 26.0
  • font.internaluseonly.changed: True
  • gfx.direct3d.last_used_feature_level_idx: 0
  • gfx.direct3d.prefer_10_1: True
  • network.cookie.prefsMigrated: True
  • network.http.max-connections: 30
  • network.http.max-persistent-connections-per-server: 4
  • places.database.lastMaintenance: 1391124216
  • places.history.expiration.transient_current_max_pages: 104858
  • places.history.expiration.transient_optimal_database_size: 167772160
  • plugin.disable_full_page_plugin_for_types: application/pdf
  • plugin.importedState: True
  • plugin.state.npitunes: 0
  • privacy.cpd.cookies: False
  • privacy.cpd.extensions-tabmix: False
  • privacy.cpd.sessions: False
  • privacy.sanitize.migrateFx3Prefs: True
  • security.warn_viewing_mixed: False
  • storage.vacuum.last.index: 1
  • storage.vacuum.last.places.sqlite: 1388782335

Misc

  • User JS: Yes
  • Accessibility: No
DebborahBrega 0 solutions 6 answers

Check running Services with Task Manager.

Check running Services with Task Manager.
cor-el
  • Top 10 Contributor
  • Moderator
17479 solutions 157964 answers

Is is always possible the that space (clusters) on the hard drive have been used to store other data and in such a case you can't recover the original content of the file.

If you encounter such freeze issues regularly then best is to choose the "Show my windows and tabs from last time" startup setting.


You an try to create a new profile as a test to check if Session Restore work better in the new profile.

See "Creating a profile":

If the new profile works then you can transfer some files from an existing profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over the problem.

Is is always possible the that space (clusters) on the hard drive have been used to store other data and in such a case you can't recover the original content of the file. If you encounter such freeze issues regularly then best is to choose the "Show my windows and tabs from last time" startup setting. ---- You an try to create a new profile as a test to check if Session Restore work better in the new profile. See "Creating a profile": *https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues If the new profile works then you can transfer some files from an existing profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over the problem. *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox