Talk:Session Restore: Difference between revisions

 
(16 intermediate revisions by 8 users not shown)
Line 190: Line 190:


Forget about the security and all that, it's an annoying feature since I and probably a bunch of other users normally exit by powering off the computer, exiting X/Gnome/KDE with Ctrl-Alt-Delete, or typing "init 0". All these make Firefox 2 think it has crashed, and annoy with a startup message next time it's launched. One should be able to at least disable this feature in about:config.
Forget about the security and all that, it's an annoying feature since I and probably a bunch of other users normally exit by powering off the computer, exiting X/Gnome/KDE with Ctrl-Alt-Delete, or typing "init 0". All these make Firefox 2 think it has crashed, and annoy with a startup message next time it's launched. One should be able to at least disable this feature in about:config.
'''never''' - Never save closed tabs in sessions and delete all closed tabs when the browser is shutdown. Also closed tabs will not be restored from saved sessions that had been saved with closed tabs.
[http://sessionmanager.mozdev.org/documentation.html http://sessionmanager.mozdev.org/documentation.html]
= Understanding the Structure of sessionstore.js file =
Hello all,
Sorry to intrude on your work, but I have a question that I just cannot find an authoritative answer on and I'm not sure that this is the appropriate place to ask, but here goes...
I am in law enforcement and currently looking at a fragment of data from unallocated space that *appears* to be in the same format as the a/n file.  I need to determine what the nature of the fields are.  I have a pretty good idea on most of them, but not all.
For example, let's say this information excerpt:
"... title"Hotmail", cacheKey:0, ID:1291, scroll:"0,0"}], index:1, zoom:1, disallow:"", xultab:""....."
I can see from other pages on this wiki what some of these items do/store, for example scroll stores scroll bar position, but ID, where is the 1291 obtained from?  Is this the 1291st browsing instance since the browser was started?  I can't tell very well from the source code, but I'm not super fluent in js.
Any help would be GREATLY appreciated.  If this isn't the correct location for this, please let me know where I should ask.
--[[User:G-man|G-man]] 12:22, 1 May 2008 (PDT)
:Have a look at http://forums.mozillazine.org/viewtopic.php?f=38&t=622036&p=10320887#p10320887" The code explains the structure, but only few attributes.
== Disable session restore ==
I don't like the feature of Firefox that it tries to revisit or reload the webpages that caused my browser to crash. ... I desperatly want an option for NO session restore, ever.
Set ''browser.sessionstore.max_resumed_crashes'' to 0. Firefox will ask after a crash which windows/tabs to restore. See more [[Session_Restore#Preferences|Preferences]] on front page. [[User:Hbbb|Hbbb]] 07:22, 27 October 2009 (UTC)
== A possibly  better way to secure the data ==
One way that Firefox could secure the session restore automatically is using a hybrid asymmetric (like RSA, DSA, or ElGamal) and symmetric (like AES, Blowfish, Twofish, 3DES, or Serpent) encryption setup like what SSL, TLS, and PGP use.
All it needs to do is create a asymmetric key pair with a password encrypted "Private Key" the first time Firefox opens and then whenever you load up Firefox it quickly creates a temporary symmetric key which it uses for that session to encrypt the session restore data with and it encrypts the temporary symmetric key with your asymmetric "Public Key". So then if you ever need to restore your session you will need your private key and the password the private keys encrypted with to decrypt the sessions temporary symmetric key.
With asymmetric encryption you have a key pair with 2 keys a "Private Key" and a "Public Key" and you can give everyone your public key and when you encrypt something with someones "Public Key" the only way to decrypt the data is with that persons "Private Key" and the password the private key is encrypted with (technically it is possible to create a "Private Key" that isn't encrypted with a password then all you need is the "Private Key" to decrypt the data)
:I'm with LukeKendall.  Full Disk Encryption, or OS-level stuff like TrueCrypt, BitLocker and FileVault are the solution to this issue; no need to try and re-solve this problem.  ''{But I'm going to add some of the info from http://www.blogsdna.com/4318/how-to-get-back-firefox-35-session-restore-page.htm and on sessionstore.js, which I think is key. (err, never mind about the latter; http://support.mozilla.com/en-US/kb/Session+Restore is the place for documentation.)}'' --[[User:MrElvey|MrElvey]] 04:47, 11 June 2010 (UTC)
:Oh, and there's browser.sessionstore.resume_from_crash which is a partial fix to this issue for those who feel Firefox itself needs to be more careful with this sensitive/private info.  --[[User:MrElvey|MrElvey]] 05:00, 11 June 2010 (UTC)
= Panorama Support =
How does Session Store support Panorama? I have repeatedly seen all my panorama tabs being cleared away, and there is no way of getting them back by just restarting Firefox.
60

edits