开发者

Fallout of cookie size exceeding the size allocated in a browser

开发者 https://www.devze.com 2023-01-18 14:05 出处:网络
What happens if the size of cookies exceeds the si开发者_高级运维ze allocated for cookies in a browser?If the entire cookie cannot be stored, the cookie won\'t be stored at all (at least, not in a com

What happens if the size of cookies exceeds the si开发者_高级运维ze allocated for cookies in a browser?


If the entire cookie cannot be stored, the cookie won't be stored at all (at least, not in a compliant implementation). From RFC 2965, Section 5.3:

The information in a Set-Cookie2 response header MUST be retained in its entirety. If for some reason there is inadequate space to store the cookie, it MUST be discarded, not truncated.

0

精彩评论

暂无评论...
验证码 换一张
取 消