Skip to main content


The rfc6265bis document - the updated #cookie spec - is now in draft-14: ietf.org/archive/id/draft-ietf…

It has been in the works for almost a decade by now!

in reply to daniel:// stenberg://

a fun change in this draft compared to the RFC:

"The user agent MUST limit the maximum value of the Max-Age attribute. The limit SHOULD NOT be greater than 400 days (34560000 seconds) in duration. The RECOMMENDED limit is 400 days in duration, but the user agent MAY adjust the limit. Max-Age attributes that are greater than the limit MUST be reduced to the limit."

This entry was edited (6 months ago)
in reply to daniel:// stenberg://

400, hu? So that cookies from Santa Claus have a chance to still be there next year?
in reply to Stefan Eissing

"Why 400 days? The goal was to get close to 13 months so that functions one might perform annually (e.g., selecting insurance benefits for the next year) would work even as specific dates varied slightly"

(quote from the original PR with text that was eventually merged)

github.com/httpwg/http-extensi…

This entry was edited (6 months ago)
in reply to daniel:// stenberg://

my own little contrib that shows in -14 came via this: github.com/httpwg/http-extensi…
in reply to daniel:// stenberg://

still with wildcard cookies (those for .example.com that match *.example.com). I really do wonder what the use-cases for those are that don't involve tracking for advertising.
in reply to Koos van den Hout

@KHoos cookies are basically always wildcard since they tailmatch. They were made to work like that in the 90s, long before cookies tracked users. Also, without "third party cookies", it is hard to see how they can actually track users successfully.
in reply to daniel:// stenberg://

@KHoos I'm not sure what you mean by "cookies are basically always wildcard since they tailmatch"... 🤔

A cookie's Domain attribute determines its scope. In the case of a cookie set without a Domain attribute, browsers only include it in requests to the host that set it.

Am I missing something?

This entry was edited (6 months ago)
in reply to jub0bs

@jub0bs @KHoos sure, but the domain property always existed and has been used widely since the beginning
in reply to daniel:// stenberg://

@KHoos they got javascript execution on each ad "display", and fingerprinting is a thing (and chrome has the new "Topics" or whatever they call it today); IP addresses are mostly not unique especially in combo with even a light fingerprint.

Disabling third party cookies is good, but only disadvantages those who do not build browsers and control what they load up in there.