Encoding scheme used for cookies

后端 未结 2 713
执笔经年
执笔经年 2021-01-12 08:07

RFC 6265 Sec 6.1 specifies allowing atleast 4096 bytes per cookie.

Now in order to know the number of characters allowed per cookie, I need to know

2条回答
  •  迷失自我
    2021-01-12 09:03

    It seems it is determined more by the programmer (behind the browser) than by the programming language. Usually cookies values are URL-encoded but there is no requirement.
    Have a look at this answer that complete your study (adding the Safari special case). This one might help too.

提交回复
热议问题