Session vs cookie in Django
Cookies live in the browser, while sessions usually store server-side state and use a cookie only for the session key.
- Cookie stores small client data
- Session stores server data
- Secure cookies still live client-side
Session vs cookie in Django