Skip to content

Instantly share code, notes, and snippets.

@sigmaris
sigmaris / cookie.py
Created Mar 26, 2011 — forked from justquick/cookie.py
Use cookies for all session storage in Django. This version uses HMAC to verify the integrity of the cookie, and raises SessionTooBig if the session is too large to fit in a cookie.
View cookie.py