Skip to content

Backwards compatability, cookies, and consent #12

@robrwo

Description

@robrwo

The way session handling in most websites work is through cookies.

  1. User-agent (UA) sends request to website
  2. Web server (WS) sends cookie with response
  3. UA accepts cookie
  4. UA returns cookie in next request.
  5. WS validates cookie as being in same session as no. 1

See also some discussion in #11, particular the assumption that the web server will not send a cookie until it receives consent in an ADC header, something like
6. UA passes ADPC consent request to user and receives permission to use cookies
7. UA includes ADC headers giving consent
8. WS responds with a cookie

The problem is that user agents which do not support ADPC will never issue consent (7), so websites that require cookies for some purposes will not work with older user agents.

I think the workaround for this is for web servers to not send cookies if they request has a "ADC: withdraw=*" header but send cookies if the the request consents to it. User agents would pass a withdraw header the first time they connect to a webserver.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions