Home > Article > Backend Development > Can the length of ie cookie be set_PHP tutorial
Ie cookie length can be set
Answer
I recently encountered a problem - when there are too many registered COOKIES, IE on some computers cannot save too many, but some IEs can, which is strange. IE version 6.0 also stores COOKIE in different lengths? Where can I set it? If anyone has encountered similar problems, please help. Thank you...
It seems that if that doesn't work, you can only use session instead.
Let me answer
Other solutions
It seems that a domain name can only send 20 cookies. If the number exceeds, the old cookies will be automatically deleted
Each cookie file cannot exceed 4kb. If it exceeds 4kb, it will be automatically truncated
Other solutions
50 cookies
Cannot be set, cookie resources are very tight
Other solutions
???
Other solutions
It seems like 2048 bytes