This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

SERIOUS BUG!! Clear cookies not working

  • 8 ردود
  • 10 have this problem
  • 4 views
  • آخر ردّ كتبه cor-el

more options

After I upgraded to Firefox 36.0.4, th option for clearing cookies is not working!

DESCRIPTION: Tools/Options/Privacy/Settings/"When I quit firefox it should automatically clear: Cookies"

I tick the checkbox. Restart FF. Checkbox is now NOT ticked, and cookies are NOT cleared.

When I don't restart and go to the settings, the checkbox remains ticked, but only until restart.

This is a SERIOUS security bug, in my opinion.

After I upgraded to Firefox 36.0.4, th option for clearing cookies is not working! DESCRIPTION: Tools/Options/Privacy/Settings/"When I quit firefox it should automatically clear: Cookies" I tick the checkbox. Restart FF. Checkbox is now NOT ticked, and cookies are NOT cleared. When I don't restart and go to the settings, the checkbox remains ticked, but only until restart. This is a SERIOUS security bug, in my opinion.

الحل المُختار

As posted above:

The user.js file is read each time Firefox is started and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.

You can check its content with a plain text editor (right-click: "Open with"; do not double-click).

You can delete the user.js file if you didn't create this file yourself as there is not need to initialize prefs this way.

Read this answer in context 👍 1

All Replies (8)

more options

Update: YES, I do use session restore, and I want to continue using it. Everything worked fine in the previous version of FF (Not sure which one, I don't update to new versions as soon as they get out, but every 4-5 months).

How do I stop session restore to keep cookies?

I still say that this is a BUG because FF allows me to change a setting that re-sets itself after restart.

more options

hello hogar, could you go to the firefox menu ≡ > help ? > troubleshooting information, copy the contents of that page and paste them here into a reply on the forum? this might give us a clue what is going on...

more options

OK; I think I solved it, but I still maintain that this IS a BUG.

I first went to FF Session Manager settings. Unchecked the option "Save session cookies". THAT DID NOT HELP.

THEN I dig FURTHER in FF Session Manager settings and found under "SessionStore" settings an option called "Save sensitive data (Form Data, POSTDATA and coockies". Changed it from "all sites" to "no sites at all".

Now it seems that cookies are being cleared, BUT the first option that I mentioned is STILL not working (checking the "clear cookies" in Tools/Options/Privacy/Settings/"When I quit firefox it should automatically clear: Cookies" ) - I check it, restart, it remains unchecked. BUG.

I will post the troubleshooting data in my next post.

more options

THANK YOU Phillip. Here's the data:

Application Basics


Name: Firefox Version: 36.0.4 User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0 Multiprocess Windows: 0/2

Crash Reports for the Last 3 Days


All Crash Reports

Extensions


Name: Adblock Plus Version: 2.6.9 Enabled: true ID: {d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}

Name: Autofill Forms Version: 1.0.3 Enabled: true ID: autofillForms@blueimp.net

Name: Better Gmail 2 Version: 1.2 Enabled: true ID: bettergmail2@ginatrapani.org

Name: Classic Theme Restorer Version: 1.3.0 Enabled: true ID: ClassicThemeRestorer@ArisT2Noia4dev

Name: Ctrl-Tab Version: 0.21.1 Enabled: true ID: ctrl-tab@design-noir.de

Name: DigitalPersona Extension Version: 5.0.0.4260 Enabled: true ID: otis@digitalpersona.com

Name: Does Amazon Ship to ...? Version: 3.0.3 Enabled: true ID: DoesAmazonShipTo@usefulhelper.com

Name: feedly Version: 16.0.528 Enabled: true ID: feedly@devhd

Name: Flashblock Version: 1.5.18 Enabled: true ID: {3d7eb24f-2740-49df-8937-200b1cc08f8a}

Name: Forecastfox Version: 2.2.4 Enabled: true ID: {0538E3E3-7E9B-4d49-8831-A227C80A7AD3}

Name: Gmelius Version: 5.7.7.12 Enabled: true ID: firefox@gmelius.com

Name: Google Translator for Firefox Version: 2.1.0.3 Enabled: true ID: translator@zoli.bod

Name: Mozilla Archive Format Version: 3.0.4 Enabled: true ID: {7f57cf46-4467-4c2d-adfa-0cba7c507e54}

Name: Remove Cookies for Site Version: 0.63 Enabled: true ID: {06997db0-c027-4d5f-bd37-b0d9230226ea}

Name: Session Manager Version: 0.8.1.6 Enabled: true ID: {1280606b-2510-4fe0-97ef-9b5a22eafe30}

Name: Tab Mix Plus Version: 0.4.1.7 Enabled: true ID: {dc572301-7619-498c-a57d-39143191b318}

Name: Video DownloadHelper Version: 5.0.1 Enabled: true ID: {b9db16a4-6edc-47ec-a1f4-b86292ed211d}

Name: Gmelius Version: 5.7.6.1 Enabled: false ID: gmailadsremover@florian.bersier

Name: Greasemonkey Version: 3.1 Enabled: false ID: {e4a8a97b-f2ed-450b-b12d-ee082ba24781}

Name: Multiproxy Switch Version: 1.35 Enabled: false ID: {BB080420-8088-F650-3D47-13799CCD6159}

Name: OptimizeGoogle Version: 0.79.1 Enabled: false ID: optimizegoogle@optimizegoogle.com

Name: Screen Draw Version: 1.0.11 Enabled: false ID: screendraw@grizzlyape.com

Name: TooManyTabs Version: 1.4.7 Enabled: false ID: TooManyTabs@visibotech.com

Name: TS Magic Player Version: 1.1.37 Enabled: false ID: magicplayer@torrentstream.org

Graphics


Adapter Description: NVIDIA Quadro FX 2800M Adapter Drivers: nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um Adapter RAM: 1024 ClearType Parameters: Gamma: 2200 Pixel Structure: R ClearType Level: 100 Enhanced Contrast: 200 Device ID: 0x061d Direct2D Enabled: true DirectWrite Enabled: true (6.2.9200.16492) Driver Date: 2-3-2015 Driver Version: 9.18.13.4144 GPU #2 Active: false GPU Accelerated Windows: 2/2 Direct3D 11 (OMTC) Subsys ID: 1520103c Vendor ID: 0x10de WebGL Renderer: Google Inc. -- ANGLE (NVIDIA Quadro FX 2800M Direct3D9Ex vs_3_0 ps_3_0) windowLayerManagerRemote: true AzureCanvasBackend: direct2d AzureContentBackend: direct2d AzureFallbackCanvasBackend: cairo AzureSkiaAccelerated: 0

Important Modified Preferences


accessibility.typeaheadfind.flashBar: 0 browser.cache.disk.capacity: 358400 browser.cache.disk.smart_size_cached_value: 358400 browser.cache.disk.smart_size.first_run: false browser.cache.disk.smart_size.use_old_max: false browser.cache.frecency_experiment: 3 browser.fixup.alternate.enabled: false browser.history_expire_days.mirror: 180 browser.places.importBookmarksHTML: false browser.places.smartBookmarksVersion: 7 browser.search.openintab: true browser.search.useDBForOrder: true browser.sessionstore.max_tabs_undo: 99 browser.sessionstore.privacy_level: 2 browser.sessionstore.upgradeBackup.latestBuildID: 20150320202338 browser.startup.homepage: www.google.rs browser.startup.homepage_override.buildID: 20150320202338 browser.startup.homepage_override.mstone: 36.0.4 browser.tabs.drawInTitlebar: false browser.tabs.onTop: false browser.tabs.tabMaxWidth: 149 browser.tabs.tabMinWidth: 106 browser.urlbar.suggest.openpage: false dom.max_chrome_script_run_time: 60 dom.mozApps.used: true extensions.lastAppVersion: 36.0.4 font.internaluseonly.changed: true gfx.direct3d.last_used_feature_level_idx: 1 media.gmp-gmpopenh264.lastUpdate: 1427806975 media.gmp-gmpopenh264.version: 1.3 media.gmp-manager.lastCheck: 1427970055 network.cookie.cookieBehavior: 0 network.cookie.lifetimePolicy: 2 network.cookie.prefsMigrated: true places.database.lastMaintenance: 1428003729 places.history.expiration.transient_current_max_pages: 104858 plugin.disable_full_page_plugin_for_types: application/pdf plugin.importedState: true print.printer_Adobe_PDF.print_bgcolor: false print.printer_Adobe_PDF.print_bgimages: false print.printer_Adobe_PDF.print_colorspace: print.printer_Adobe_PDF.print_command: print.printer_Adobe_PDF.print_downloadfonts: false print.printer_Adobe_PDF.print_duplex: 1515870810 print.printer_Adobe_PDF.print_edge_bottom: 0 print.printer_Adobe_PDF.print_edge_left: 0 print.printer_Adobe_PDF.print_edge_right: 0 print.printer_Adobe_PDF.print_edge_top: 0 print.printer_Adobe_PDF.print_evenpages: true print.printer_Adobe_PDF.print_footercenter: print.printer_Adobe_PDF.print_footerleft: &PT print.printer_Adobe_PDF.print_footerright: &D print.printer_Adobe_PDF.print_headercenter: print.printer_Adobe_PDF.print_headerleft: &T print.printer_Adobe_PDF.print_headerright: &U print.printer_Adobe_PDF.print_in_color: true print.printer_Adobe_PDF.print_margin_bottom: 0.5 print.printer_Adobe_PDF.print_margin_left: 0.5 print.printer_Adobe_PDF.print_margin_right: 0.5 print.printer_Adobe_PDF.print_margin_top: 0.5 print.printer_Adobe_PDF.print_oddpages: true print.printer_Adobe_PDF.print_orientation: 0 print.printer_Adobe_PDF.print_page_delay: 50 print.printer_Adobe_PDF.print_paper_data: 9 print.printer_Adobe_PDF.print_paper_height: 11,00 print.printer_Adobe_PDF.print_paper_name: print.printer_Adobe_PDF.print_paper_size_type: 0 print.printer_Adobe_PDF.print_paper_size_unit: 1 print.printer_Adobe_PDF.print_paper_width: 8,50 print.printer_Adobe_PDF.print_plex_name: print.printer_Adobe_PDF.print_resolution: 1515870810 print.printer_Adobe_PDF.print_resolution_name: print.printer_Adobe_PDF.print_reversed: false print.printer_Adobe_PDF.print_scaling: 1,00 print.printer_Adobe_PDF.print_shrink_to_fit: true print.printer_Adobe_PDF.print_to_file: false print.printer_Adobe_PDF.print_unwriteable_margin_bottom: 0 print.printer_Adobe_PDF.print_unwriteable_margin_left: 0 print.printer_Adobe_PDF.print_unwriteable_margin_right: 0 print.printer_Adobe_PDF.print_unwriteable_margin_top: 0 privacy.clearOnShutdown.cache: false privacy.clearOnShutdown.downloads: false privacy.clearOnShutdown.formdata: false privacy.clearOnShutdown.history: false privacy.clearOnShutdown.offlineApps: true privacy.clearOnShutdown.passwords: true privacy.sanitize.migrateFx3Prefs: true privacy.sanitize.sanitizeOnShutdown: true security.warn_submit_insecure: false security.warn_submit_insecure.show_once: false security.warn_viewing_mixed: false security.warn_viewing_mixed.show_once: false storage.vacuum.last.index: 1 storage.vacuum.last.places.sqlite: 1426063750

user.js Preferences


Your profile folder contains a user.js file, which includes preferences that were not created by Firefox.

Important Locked Preferences


JavaScript


Incremental GC: true

Accessibility


Activated: false Prevent Accessibility: 0

Library Versions


NSPR Expected minimum version: 4.10.7 Version in use: 4.10.7

NSS Expected minimum version: 3.17.4 Basic ECC Version in use: 3.17.4 Basic ECC

NSSSMIME Expected minimum version: 3.17.4 Basic ECC Version in use: 3.17.4 Basic ECC

NSSSSL Expected minimum version: 3.17.4 Basic ECC Version in use: 3.17.4 Basic ECC

NSSUTIL Expected minimum version: 3.17.4 Version in use: 3.17.4

Experimental Features


more options

And the previous version of my FF was 32.0.3, when I didn't have this issue. Sorry for my multiple posts.

more options

ok thanks - you appear to have a user.js file present your profile which can be used to overwrite your custom preferences - if you haven't created it yourself in the first place, please remove it: click the menu button ≡ and then click help ? > troubleshooting information > profile folder - "show folder". then a new window will open up. in this window look out for a file named user.js. in case it is present , delete or rename this file and restart firefox afterwards.

for more information and other steps please also see: How to fix preferences that won't save

more options

Aha! Humm. No, I haven't created it as in "create user.js". But can it be that some of my add-ons that I do use created it - I mean, what if I need it for something else?

Can I remove it, see if everything works as desired, and then if I don't "like it" can I put it back there and expect everything to revert to previous settings?

THANK YOU!

more options

الحل المُختار

As posted above:

The user.js file is read each time Firefox is started and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.

You can check its content with a plain text editor (right-click: "Open with"; do not double-click).

You can delete the user.js file if you didn't create this file yourself as there is not need to initialize prefs this way.