Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's still exactly what they they were invented, though. The very first example in RFC2109 is literally for tying a session to a login.

The "abstract idea" of a cookie is an identifier that it lets a server consider requests within a larger series of requests by the same person, but the fact that it can do that at all also meant that it solved the whole "how do we know whether this user is logged in without every page request after login needing to be a POST that includes the user's name and password again".



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: