On Wed, Oct 5, 2016 at 3:12 PM, Jim Manico <jim@manicode.com> wrote:
> I think this is bad behavior. If multiple cookies from the same domain
> have the same name yet different values, I think all values should all be
> returned. This suggested behavior is also how get parameters work in order
> to support multi-select lists.
>
A browser considers name-domain-path a unique cookie. if a server sends
two cookies with the same name-domain-path then it's really setting and
then updating the same cookie from the browser's POV. The browser cannot
return both values because it has forgotten the first.