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

You don't need to store CSRF in sessions. Django doesn't by default.

CSRF token can be entirely separate from sessions.



not even you don't need to, you shouldn't. Sessions shouldn't be accessible to js at all




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

Search: