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

You're right, if every authenticated cookie must also be validated against the DB, there is no point to using authenticated cookies. TFA describes short-lived authenticated cookies, which need not be validated against a DB, used in conjunction with longer-lived DB sessions, which are only validated against the DB when the short-term cookie has expired. Those DB sessions end on logout or reset or whatever.


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

Search: