How Django sessions work – introduction
June 24th, 2011 at 12:50 pmWhile working on a private web application earlier this week, I ran into Django’s session support for the first time. Like many other aspects of web app development, Django can make dealing with sessions very easy, although sessions are a complex topic – adding state on top of the stateless HTTP protocol isn’t trivial.
As happens sometimes, my curiosity was triggered and I decided to understand how Django achieves this "magic" – seamlessly implementing sessions while facing the user with a very simple-to-use API, hiding the complexity underneath. And reusing my well-chewed maxim – the best way to learn is to teach. Hence, this series of articles.
Related posts:

June 24th, 2011 at 16:14
Patiently waiting for the next article, i liked the cookies explanation. I didn’t got it all but seems easy enough.
June 27th, 2011 at 09:02
Wonderfull idea. Can’t wait to see the next one.
July 5th, 2011 at 20:14
Great article! Have you explored modding session configs? Any interesting approaches?
July 6th, 2011 at 00:53
Andres, Not sure I understand what you mean by “modding session configs”?
January 23rd, 2012 at 16:13
Thanks for this great series of articles !
March 28th, 2012 at 17:19
Thanks a lot for that awesome explanation!
June 14th, 2012 at 22:21
hey thanks sir i have spent lots of time on searching the idea on session……………
but becz of ur blog on session i finished me homework…..
i thanks to u
hope u blog lot of things on django….
with regard
jai