2 ms·
Bingo: the beauty of the cookie is that the client stores it for you. If you start storing IP address and user agent info, you open yourself to attacks that tr
by kazinator 12y ago
Bingo: the beauty of the cookie is that the client stores it for you.
If you start storing IP address and user agent info, you open yourself to attacks that try to flood your database. If a botnet visits your website with millions of different IP addresses, and each one fakes half a dozen user agents, oops!
(The lesson from TCP and why it has SYN cookies now.)