Will browsers throw an error if the size of the cookie is outside the browser?

If the cookie size is not set in the browser, will the browsers cause an error?

+4
source share
1 answer

The browser just crashes !

The webpage becomes inactive and finally the browser crashes, you can try it yourself:

  • Go to the website
  • Try setting a cookie with a very large size (the character is repeated n times)
  • See for yourself.

The main articles cited above:

, 50 4093 (.. cookie <= 4093 )

:

  • 300 cookie
  • 4096 cookie
  • 20 cookie
  • 81920 *

* 20 cookie 4096 = 81920 .

+2

Source: https://habr.com/ru/post/1684557/


All Articles