I'm experiencing an issue with session cookies.
1. I see that session['_id'] is created when a page on the site is
first encountered. Are '_creation_time' and 'accessed_time' supposed
to be created automatically? Or should those two fields be set in my
code?
2. The code below is in the base controller. A new session cookie is
produced (and new '_id' field) each time the same page is encountered:
if 'cre_dt' not in session_cookies:
session_cookies['cre_dt'] = datetime.now()
session_cookies['acc_dt'] = datetime.now()
session_cookies.save()
Can someone explain how Pylons handles session cookies and why the
session
Thanks.
Edgar
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---