Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Persistent Login Cookie Best Practice. Parent comment
> When the cookie does not contain the username, you, the server, need to look up in your table to whom you gave the random number.
When the cookie does contain the username, I have to look up whether that random number is valid for the given username. How is that better?
There are no comments on this comment yet.
> When the cookie does not contain the username, you, the server, need to look up in your table to whom you gave the random number.
When the cookie does contain the username, I have to look up whether that random number is valid for the given username. How is that better?