> It seems like I need to reference the session_key variable before I
> can use it.  Can anybody explain why?

Well, I'll try. I spent sometime looking at
django.contrib.session.backends.*

The session is created in a 'lazy' fashion. In particular, db.py's
load() method creates the record (and thus the key) as a side effect
of the attempt to access a session record.

It appears (untested) to be enough to reference
"soap.request.session" to trigger the creation. I'm guessing this is
to reduce accidental/incidental creation of meaningless session
records.

  HTH,
  Peter

--~--~---------~--~----~------------~-------~--~----~
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