how to decode the data in session:
python manage.py shell:
from django.contrib.sessions.models import Session #... sess = Session.objects.all()
for s in sess: print(s.session_data) print(s.get_decoded())
原文:http://www.cnblogs.com/lynnge/p/5096836.html