• FishFace@lemmy.world
    link
    fedilink
    English
    arrow-up
    20
    ·
    1 year ago

    A start would be to require sites to remember non-consents for at least as long as they remember consents. Why do I have to be asked about cookies by every site every month?

    • LrdThndr@lemmy.world
      link
      fedilink
      English
      arrow-up
      13
      arrow-down
      9
      ·
      1 year ago

      Web developer here. A “cookie” is just a piece of information stored on your machine. A cookie can be a setting, saved app data, or a tracking id.

      The reason you keep seeing the banner is because by saying “no” to cookies, you’re telling them they don’t have permission to store ANYTHING on your computer. Which is fine. Your computer your call.

      But if they can’t store anything on your computer, there’s no way to remember that setting next time you come to the website. No local setting storage means they don’t have the stored “no cookies” setting to load. Likewise there’s no tracking id they could potentially look your setting up in their own database by.

      Web site requests are “stateless”. That means that, to a web server, each and every single request to a server is its own brand new, separate connection with no link to any other connection. The only way to share data between individual requests is via some kind of stored “state”. That state can come from your computer in the form of cookies, or from the server in the form of sessions. But linking a connection to a session requires your computer providing a session id; and guess how your computer has to store a session id? If you guessed “in a cookie” you win.

      Are cookie popups annoying? Oh holy Christ yes, both from a web user standpoint and from the stand point of having to implement them as a developer. But by outright rejecting cookies (and/or auto-wiping your cache/cookies when you close the browser), you’re telling the website it’s not allowed to store your preferences for not having cookies and eliminating the websites ability to recall that preference at all.

      • barsoap@lemm.ee
        link
        fedilink
        English
        arrow-up
        10
        ·
        1 year ago

        The reason you keep seeing the banner is because by saying “no” to cookies, you’re telling them they don’t have permission to store ANYTHING on your computer.

        That’s not how the regulation works. You don’t need to ask for permission to remember settings the user actually set themselves. Those companies don’t want to remember.

      • FishFace@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        ·
        1 year ago

        I know how HTTP works. These banners are supposed to (and are legally allowed to) store a cookie saying you have refused. Websites are allowed to store session cookies with displaying a banner at all.

    • extant@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      4
      ·
      1 year ago

      Because you are cleaning your cache/cookies and wiping out the record of your selection, or outright rejecting them so they are never saved to begin with.