How can I store session data to db on login/logoff events ?
Hi All! Sorry for my stupid question and my english: I would like store some session data to db when the users log into my zope system and when the session object will be deleted. When the users log into the system the index_html script sets some data to request.SESSION object. I have a script called "addScript" that runs when an object is added to transient data container. In the "addScript" I try receive data with yyy = container.SESSION.get('xxx') or item.get(....) but I cannot see the keys. How can I retrieve the user SESSION data when the items are created or deleted from the transient object container? Thank you in advance Antal
Pletli Antal wrote at 2006-10-11 15:19 +0200:
... How can I retrieve the user SESSION data when the items are created or deleted from the transient object container?
The "Transient Object Container" (that's the session container) has too scripts for this. You configure them in Zope's configuration file. -- Dieter
participants (2)
-
Dieter Maurer -
Pletli Antal