[Zope] How can I store session data to db on login/logoff events ?
Pletli Antal
a.pletli at euromacc.hu
Mon Oct 16 03:03:56 EDT 2006
Thank you Dieter, it is work correctly, i found the session keys! :-)
-----Original Message-----
From: Dieter Maurer [mailto:dieter at handshake.de]
Sent: Friday, October 13, 2006 8:43 PM
To: Pletli Antal
Cc: zope at zope.org
Subject: RE: [Zope] How can I store session data to db on login/logoff
events ?
Pletli Antal wrote at 2006-10-13 08:36 +0200:
>I see, but i dont't know why the session is empty. When the session
>will be deleted it is not contains the previously set variables (keys)
>by the user. Only the request object contains the authenticated user
>name, the container.session or item parameter contents the "id",
>"token" values but the content keys is [].
That is strange.
As you can see
"Products.Transience.TransientObjectContainer._do_finalize_work"
the session is not cleared before the "notifyDel".
The real content might be in "item._container" which you can access with
the "TransientObject"s mapping API ("keys", "values", "items", ...)
--
Dieter
More information about the Zope
mailing list