RE: [Zope] How can I store session data to db on login/logoff events ?

2006-10-16 Thread Pletli Antal
Thank you Dieter, it is work correctly, i found the session keys! :-) -Original Message- From: Dieter Maurer [mailto:[EMAIL PROTECTED] Sent: Friday, October 13, 2006 8:43 PM To: Pletli Antal Cc: zope@zope.org Subject: RE: [Zope] How can I store session data to db on login/logoff events

RE: [Zope] How can I store session data to db on login/logoff events ?

2006-10-13 Thread Pletli Antal
values but the content keys is []. -Original Message- From: Dieter Maurer [mailto:[EMAIL PROTECTED] Sent: Thursday, October 12, 2006 8:54 PM To: Pletli Antal Cc: zope@zope.org Subject: RE: [Zope] How can I store session data to db on login/logoff events ? Pletli Antal wrote at 2006-10-12

RE: [Zope] How can I store session data to db on login/logoff events ?

2006-10-13 Thread Dieter Maurer
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

RE: [Zope] How can I store session data to db on login/logoff events ?

2006-10-12 Thread Pletli Antal
session data to db on login/logoff events ? 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

Re: [Zope] How can I store session data to db on login/logoff events ?

2006-10-12 Thread Sascha Ottolski
Am Donnerstag, 12. Oktober 2006 08:50 schrieb Pletli Antal: Thanks Dieter, it's work. But i have a problem with this: When I ran the test python script (see below) in Zope or I called the url directly from the browser , I got an error: Error Type: KeyError Error Value: 'SESSION' we've

RE: [Zope] How can I store session data to db on login/logoff events ?

2006-10-12 Thread Dieter Maurer
Pletli Antal wrote at 2006-10-12 08:50 +0200: But i have a problem with this: When I ran the test python script (see below) in Zope or I called the url directly from the browser , I got an error: Error Type: KeyError Error Value: 'SESSION' The session object is passed as a parameter to the

[Zope] How can I store session data to db on login/logoff events ?

2006-10-11 Thread Pletli Antal
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

Re: [Zope] How can I store session data to db on login/logoff events ?

2006-10-11 Thread Dieter Maurer
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