What is the data storage limit of a cookie ? and what is the maximum number of characters that can be stored in a cookie string ?
The data storage limit for a cookie is 4kb i.e. 4096 bytes.
Now , talking about characters , a character in UTF-8 can take somewhere between 1 byte to 4 bytes of space . so in 4kb we can store between 1024 to 4096 characters.