Hello,

I've got a little question about using sessions outside of a view. I'm
trying to implement a tag that keeps track of a certain variables that
have to be set into a session. Within the tag I don't have access to
the request object. According to the docs the SessionStore provides a
way of accessing session variables outside a view.

However when I try the exact code at
http://www.djangoproject.com/documentation/sessions/#using-sessions-out-of-views
I receive a DoesNotExist (Session matching query does not exist)
exception at this method call: s =
Session.objects.get(pk='2b1189a188b44ad18c35e113ac6ceead')

I'm using the most recent trunk SVN version of Django.

Hopefully someone can enlighten me why this does not work.

Kind Regards,

Wim
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to