[Zope] Session and objects

Oliver Bleutgen myzope@gmx.net
Mon, 30 Sep 2002 17:58:43 +0200


Bo M. Maryniuck wrote:
> On Monday 30 September 2002 14:23, Jens Vagelpohl wrote:
> 
>>there is no way for the application to detect that someone has closed
>>their browser. there is methods in the sessioning machinery that allow
>>you to do processing on session data that is about to expire. that's
>>where you need to look.
> 
> 
> Do You want to say, that I need look from the Zope to the user session? 8-| 
> Well, I need turn-off the DB connection on the _Zope_ side, not on the user 
> side. Then how to look via all the sessions that someones already expired? 
> :-) Yes, I have a solution with remote scripting & crontab or with XCron, but 
> maybe there is a better way?
> 

Maybe you could state why you want to stop the DB connection. Normaly 
there's no need to do something like that.
Do you want/have something like per-user persistent DB connections, 
maybe with individual connection string (login/password)?


cheers,
oliver