Hacker News new | past | comments | ask | show | jobs | submit login

User IDs and usernames, are generally public information, so I do not see the problem with storing that in a cookie, as long as you authenticate it (e.g. using a MAC, and you might want to include a timestamp and a version number). It does however sacrifice server-side control of sessions.



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

Search: