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

Yes, I think you are right. Additionally the cookie could have a creation timestamp and in the db the last login time is stored. So when the cookie timestamp is older than the last login the cookie is actually outdated and ignored. But again maybe it's simpler to just use serverside session storage ...


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

Search: