X
Thinta lapha ukuze uye kuveshini yamakhalekhukhwini kusayithi.

Isithangami Sabeseki

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

Firefox keeps asking if I want to restore previous session

Kuphostiwe

Firefox keeps asking if I want to restore the previous session and this has been a problem since Firefox 4.

I have told Firefox to not save any history or cookies and also clear everything when Firefox closes, I have told it to show my homepage when Firefox is starting and I have tried deleting sessionstore.js. I use the following settings in about:config

browser.sessionstore.max_tabs_undo 0 browser.sessionstore.max_windows_undo 0

browser.sessionstore.privacy_level 2 browser.sessionstore.privacy_level_deferred 2 browser.sessionstore.resume_from_crash false

I'm currently using Firefox 15 beta with no add-ons on Windows Vista. Firefox sometimes doesn't ask if I want to restore the session, but only if I did close it from the drop down menu and not the x button. Firefox is closing properly.

Thanks in advance.

Firefox keeps asking if I want to restore the previous session and this has been a problem since Firefox 4. I have told Firefox to not save any history or cookies and also clear everything when Firefox closes, I have told it to show my homepage when Firefox is starting and I have tried deleting sessionstore.js. I use the following settings in about:config browser.sessionstore.max_tabs_undo 0 browser.sessionstore.max_windows_undo 0 browser.sessionstore.privacy_level 2 browser.sessionstore.privacy_level_deferred 2 browser.sessionstore.resume_from_crash false I'm currently using Firefox 15 beta with no add-ons on Windows Vista. Firefox sometimes doesn't ask if I want to restore the session, but only if I did close it from the drop down menu and not the x button. Firefox is closing properly. Thanks in advance.

Okulungisiwe ngu Silje

Eminye Imininingwane Yohlelo

Lokhu kwenzekile

Ngaso sonke isikhathi lapho i-Firefox ivulwa

Lokhu kwaqala ngenkathi...

Started with Firefox 4

Isisebenziso

  • I-ejenti Engumsebenzisi: Mozilla/5.0 (Windows NT 6.0; rv:15.0) Gecko/20100101 Firefox/15.0

Eminye Imininingwane

dumdidadida 155 izisombululo 1440 izimpendulo
Kuphostiwe

Hi,

You can try to Reset all user preferences to Firefox defaults: and Make Changes and Restart in the Safe Mode start screen.

Hi, You can try to '''Reset all user preferences to Firefox defaults:''' and '''Make Changes and Restart''' in the [https://support.mozilla.org/en-US/kb/Safe%20Mode Safe Mode] start screen.

Umnikazi wombuzo

Thanks for your answer. It didn't work though. This evening it works properly rather often even if I close Firefox with the x button, but most of the times it asks me if I want to restore the session.

Thanks for your answer. It didn't work though. This evening it works properly rather often even if I close Firefox with the x button, but most of the times it asks me if I want to restore the session.
cor-el
  • Top 10 Contributor
  • Moderator
17482 izisombululo 157978 izimpendulo
Kuphostiwe

It is possible that there is a problem with the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.

Delete the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox Profile Folder.

Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).

It is possible that there is a problem with the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder. Delete the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox Profile Folder. *Help > Troubleshooting Information > Profile Directory: Open Containing Folder *http://kb.mozillazine.org/Profile_folder_-_Firefox Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them). *http://kb.mozillazine.org/Multiple_profile_files_created

Umnikazi wombuzo

Thanks for your answer.

As I mentioned I have already tried to delete sessionstore.js (I don't have any other sessionstore. files) and it doesn't help. I tried it again.

I never had this problem with Firefox 2, 3 and not with Iceweasel. It's like Firefox is ignoring my settings... or I have messed them up somehow.

Thanks for your answer. As I mentioned I have already tried to delete sessionstore.js (I don't have any other sessionstore. files) and it doesn't help. I tried it again. I never had this problem with Firefox 2, 3 and not with Iceweasel. It's like Firefox is ignoring my settings... or I have messed them up somehow.
ideato 893 izisombululo 6250 izimpendulo
Kuphostiwe
Try to delete the [http://kb.mozillazine.org/Prefs.js_file prefs.js file], see : [https://support.mozilla.org/en-US/kb/how-to-fix-preferences-wont-save#w_corrupt-preferences-file Corrupt preferences file] http://kb.mozillazine.org/Preferences_not_saved thank you

Umnikazi wombuzo

Thanks, but it didn't help either.

Thanks, but it didn't help either.
ideato 893 izisombululo 6250 izimpendulo
Kuphostiwe

Try browser.sessionstore.restore_on_demand to FALSE.

Try browser.sessionstore.restore_on_demand to FALSE.
dumdidadida 155 izisombululo 1440 izimpendulo
Kuphostiwe

Additionally, you can also consider the Reset Firefox feature via Help (Alt + H) > Troubleshooting Information.

(To revert to the previous profile you were using, close the new profile (i.e. exit Firefox), start Firefox and choose the Default User profile. While the Profile Manager is open, you can also delete the newly reset profile (the one containing random numbers), or the former profile, as the case may be).

Managing profiles

Profiles Howto

After the reset please also check if there is any user.js file in the newly created Profile Folder. To open the profile folder via Firefox: Help (Alt + H) > Troubleshooting Information > Show Folder.

Firefox Profile Folder & Files

Additionally, you can also consider the [https://support.mozilla.org/en-US/kb/reset-firefox-easily-fix-most-problems Reset Firefox] feature via '''Help''' ('''Alt''' + '''H''') > '''Troubleshooting Information'''. (To revert to the previous profile you were using, close the new profile (i.e. exit Firefox), start Firefox and choose the '''Default User''' profile. While the [https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles Profile Manager] is open, you can also delete the newly reset profile (the one containing random numbers), or the former profile, as the case may be). [https://support.mozilla.org/en-US/kb/Managing-profiles Managing profiles] [https://support.mozilla.org/en-US/kb/Profiles?s=profile&r=2&e=sph&as=s Profiles Howto] After the reset please also check if there is any [http://kb.mozillazine.org/User.js_file user.js] file in the newly created [http://kb.mozillazine.org/Profile_folder Profile Folder]. To open the profile folder via Firefox: '''Help''' ('''Alt''' + '''H''') > '''Troubleshooting Information''' > '''Show Folder'''. [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder & Files]

Okulungisiwe ngu dumdidadida

Umnikazi wombuzo

Thanks. Actually I have tried that already, didn't work.

I think that I really shouldn't need to change preferences in about:config at all when I have told it to clear cookies and cache when quitting. It should clear everything when told to do so.

dumdidadida:, thanks, I will try it later.

Thanks. Actually I have tried that already, didn't work. I think that I really shouldn't need to change preferences in about:config at all when I have told it to clear cookies and cache when quitting. It should clear everything when told to do so. dumdidadida:, thanks, I will try it later.

Okulungisiwe ngu Silje

Umnikazi wombuzo

No, didn't help =(

No, didn't help =(
dumdidadida 155 izisombululo 1440 izimpendulo
Kuphostiwe

If you have security software (antivirus, firewall etc.) installed, you can try deleting all existing instances of Firefox and its related files in all the different configuration areas/modules of the security software. Instead create new allow/trusted rules for Firefox + its related processes. Even otherwise the security software may also ask again when Firefox is started and you can try to allow/trust at that time. Please see this.

AV/Firewalls Configuration

If you have security software (antivirus, firewall etc.) installed, you can try deleting all existing instances of Firefox and its related files in all the different configuration areas/modules of the security software. Instead create new allow/trusted rules for Firefox + its related processes. Even otherwise the security software may also ask again when Firefox is started and you can try to allow/trust at that time. Please see [https://support.mozilla.org/en-US/kb/Firewalls this]. [http://kb.mozillazine.org/Firewalls AV/Firewalls Configuration]

Umnikazi wombuzo

Thanks again. No, I don't have a security software.

I think this is a bug and it has something to do with session restore. Am I really the only one with this problem? What I find strange is that Firefox is sometimes working properly.

But perhaps Firefox since version 4 is supposed to work this way, be able to restore sessions even if you cleared everything, cookies, cache and so on? I hope not because I think it's a privacy problem.


Found another thread about this, don't know if they solved it though: http://support.mozilla.org/en-US/questions/802412

I have seen other threads about it before, they seemed to solve the problem with add-ons which I think is ... not very good.

Thanks again. No, I don't have a security software. I think this is a bug and it has something to do with session restore. Am I really the only one with this problem? What I find strange is that Firefox is sometimes working properly. But perhaps Firefox since version 4 is supposed to work this way, be able to restore sessions even if you cleared everything, cookies, cache and so on? I hope not because I think it's a privacy problem. Found another thread about this, don't know if they solved it though: http://support.mozilla.org/en-US/questions/802412 I have seen other threads about it before, they seemed to solve the problem with add-ons which I think is ... not very good.

Okulungisiwe ngu Silje

dumdidadida 155 izisombululo 1440 izimpendulo
Kuphostiwe

Not sure if there are specific unresolved bugs in Firefox related to this. You can also try searching here.

Can you also please check about:crashes in the location (address) bar to see if any irregular silent crashes at shutdown have been recorded before this issue occurs. You may also want to do an Error-checking of the drive that includes the Firefox profile folder by right-clicking on it in Computer > Properties > Tools > Check now with the defaults.

Not sure if there are specific unresolved bugs in Firefox related to this. You can also try searching [https://bugzilla.mozilla.org/ here]. Can you also please check '''about:crashes''' in the location (address) bar to see if any irregular silent crashes at shutdown have been recorded before this issue occurs. You may also want to do an '''Error-checking''' of the drive that includes the Firefox profile folder by right-clicking on it in '''Computer''' > '''Properties''' > '''Tools''' > '''Check now''' with the defaults.

Umnikazi wombuzo

Thanks again. There where no disk errors and no crashes.

I searched for a similar bug, but couldn't find one that was exactly like it is for me. However from reading similar bugs it seems like clearing cookies, cache and so on does not clear session cookies. Perhaps it's meant to be that way, but I think if you want to clear everything, you probably want to clear session cookies too.

For me Firefox is ignoring my settings in about:config which has to do with session restore.

Thanks again. There where no disk errors and no crashes. I searched for a similar bug, but couldn't find one that was exactly like it is for me. However from reading similar bugs it seems like clearing cookies, cache and so on does not clear session cookies. Perhaps it's meant to be that way, but I think if you want to clear everything, you probably want to clear session cookies too. For me Firefox is ignoring my settings in about:config which has to do with session restore.

Okulungisiwe ngu Silje

dumdidadida 155 izisombululo 1440 izimpendulo
Kuphostiwe

Is it an external dialog?? Can you also please create a screenshot of the problem you're seeing by following the guide mentioned at How do I create a screenshot of my problem?.

Once you've done this, attach the saved screenshot file to your forum post by clicking the Browse... button below the Post your reply box. You really help us to visualize the problem.

Is it an external dialog?? Can you also please create a screenshot of the problem you're seeing by following the guide mentioned at [[How do I create a screenshot of my problem?]]. Once you've done this, attach the saved screenshot file to your forum post by clicking the '''Browse...''' button below the ''Post your reply'' box. You really help us to visualize the problem.

Umnikazi wombuzo

The first image shows what it looks when I start Firefox, the other two are my settings.

The first image shows what it looks when I start Firefox, the other two are my settings.
dumdidadida 155 izisombululo 1440 izimpendulo
Kuphostiwe

Actually selecting Browsing History in the Privacy tab Settings should suffice in the normal case (ie. no crashes, add-on installation etc.). No need of the changes in about:config. If this issue is happening in the default new profile (i.e after selecting to Clear history when Firefox Closes + Browsing History, and no other changes) as well you can check if the preference to Clear History When Firefox Closes and its Settings (privacy.clearOnShutdown.history - true) have been written to in the prefs.js file in the profile folder. If so, then you could consider filing a bug report.

Actually selecting '''Browsing History''' in the '''Privacy''' tab '''Settings''' should suffice in the normal case (ie. no crashes, add-on installation etc.). No need of the changes in about:config. If this issue is happening in the default new profile (i.e after selecting to Clear history when Firefox Closes + Browsing History, and no other changes) as well you can check if the preference to Clear History When Firefox Closes and its Settings (privacy.clearOnShutdown.history - true) have been written to in the prefs.js file in the profile folder. If so, then you could consider filing a bug report.

Okulungisiwe ngu dumdidadida

Umnikazi wombuzo

There is need to change in about:config. Clearing cookies doesn't clear session cookies since Firefox 4:

https://bugzilla.mozilla.org/show_bug.cgi?id=529899

https://bugzilla.mozilla.org/show_bug.cgi?id=662485

I don't have privacy.clearOnShutdown.history in prefs.js, because true is default? It doesn't seem to write to prefs.js if I didn't change from default. I can see it in about:config though.

There is need to change in about:config. Clearing cookies doesn't clear session cookies since Firefox 4: https://bugzilla.mozilla.org/show_bug.cgi?id=529899 https://bugzilla.mozilla.org/show_bug.cgi?id=662485 I don't have privacy.clearOnShutdown.history in prefs.js, because true is default? It doesn't seem to write to prefs.js if I didn't change from default. I can see it in about:config though.

Okulungisiwe ngu Silje

dumdidadida 155 izisombululo 1440 izimpendulo
Kuphostiwe

Okay, that's true. What I meant was that keeping Browsing History selected under Settings in Tools > Options > Privacy as shown in the second image above shouldn't enable the active Restore previous session as shown in the first image above in a default new profile. i.e. the active tabs in the previous sessions aren't recoverable.

Okay, that's true. What I meant was that keeping '''Browsing History''' selected under '''Settings''' in Tools > Options > Privacy as shown in the second image above shouldn't enable the active '''Restore previous session''' as shown in the first image above in a default new profile. i.e. the active tabs in the previous sessions aren't recoverable.