New Opera Forums launching soon!
Discussion thread

Cookies: Keep local data only until I quit my browser

jamesconstance
jamesconstance

27 posts

    Hi

    I have the setting "Keep local data only until I quit my browser". However when I check "All cookies and site data...", there are items with Database storage and Local storage. Why isn't all local data removed when I close the browser? Can't these other forms of storage be used to track users from session to session?

    Thanks

    10 Replies - 181 Views

    leocg
    0 0
    leocg

    13248 posts

    • Moderator
    • 10000 posts

    However when I check "All cookies and site data...", there are items with Database storage and Local storage.

    Even after you quit the browser? There are any info stored?

    jamesconstance
    0 0
    jamesconstance

    27 posts

      Yes, after closing and restarting browser there are database storage items remaining from a previous session. However, I'm not sure now whether items marked local storage ever persist as I cleared them all out. For an example of database storage visit https://live.chessbase.com.

      jamesconstance
      0 0
      jamesconstance

      27 posts

        Immediately after starting Opera today and looking at "All cookies and site data...", I see there is "Local Storage" for drive.google.com from a previous session. Also a couple of sites have locally stored data marked as "File System", whatever that is. Several sites have Database Storage.

        So it seems that the setting "Keep local data only until I quit my browser" isn't doing what I'd expect it to do.

        rejzor
        0 0
        rejzor

        94 posts

        • Server monkey

        I wish there was option to only keep 3rd party stuff till you close the browser. So pages work fine when you're using them, but 3rd party crap gets scrapped when you close the browser.

        cozza
        0 0
        cozza

        154 posts

        • Server monkey

        Personally, I choose to block 3rd party stuff and haven't run into any major issues. I've used the Chrome plugin Click&Clean but it seems this doesn't totally clear all cookies either. Doing it manually is a pain.

        I notice Firefox does delete all cookies. Opera really are a bit sloppy here!

        cozza
        0 0
        cozza

        154 posts

        • Server monkey

        https://stackoverflow.com/questions/20010274/opera-does-not-delete-session-cookie-when-browser-close

        It would seem that deleting cookies doesn't delete session cookies. The post in the link is a bit old but still relevant.

        jamesconstance
        0 0
        jamesconstance

        27 posts

          It would be good if the Opera team would acknowledge this as a bug and fix it. My worry is that allows sites to track the user until the user takes the trouble to go into the settings and manually clear all the site data.

          leocg
          0 0
          leocg

          13248 posts

          • Moderator
          • 10000 posts

          How does Chrome behave on this?

          leocg
          0 0
          leocg

          13248 posts

          • Moderator
          • 10000 posts

          I've just did a little test here and all my cookies were removed when Opera was closed.

          cozza
          0 0
          cozza

          154 posts

          • Server monkey

          Just thought I'd update this thread as I've worked out how to remove all cookies:

          I'm still seeing a Google cookie (after following the steps below) when using Opera 48 but Opera Beta 49 is deleting all of them. Hopefully when it goes stable this will continue to be the case.

          The checkbox in Settings/Privacy & security/Cookies 'Keep local data only until I quit my browser' only seems to delete cookies that are marked 'Local Storage' when you close the browser. You also need to go to History/Clear browsing data and select 'Cookies and other site data'. Once you clear the browsing data, this will delete all other cookies but wont delete any cookies marked 'Local Storage' - I confirmed this by temporarily selecting 'Allow local data to be set (recommended)' in Settings/Privacy & security/Cookies. I hope this isn't too confusing.

          To sum up: select 'Keep local data only until I quit my browser' and also run 'Clear browsing data'(Ctrl+Shift+Del) before quitting the browser.

          If you think this is all a bit long winded, I totally agree. Firefox has the option to clear browsing data when you quit the browser and I wish Opera had this option too.