Reputation: 245
when server responses with header Set-Cookie: ADS=SN=175A21EF. What does it mean? Do i have to save one cookie with name ADS containing data SN=175A21EF or are there two cookies ADS and SN containing data 175A21EF?
Thx for reply
Upvotes: 1
Views: 48
Reputation: 28693
According to the specs (HTTP State Management Mechanism, HTTP, and the old RFC, superseded by 2965 - rfc 2109) it should be interpreted as "ADS" = "SN=175A21EF". There cannot be two cookies, a "Set-cookie" header can contain only one value and some another pre-defined key=value pairs separated by ;
.
Upvotes: 1