[Zope] Session and objects

Jens Vagelpohl jens@zope.com
Mon, 30 Sep 2002 08:23:32 -0400


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.

jens

On Monday, Sep 30, 2002, at 07:59 US/Eastern, Bo M. Maryniuck wrote:

> On Monday 30 September 2002 13:57, Jens Vagelpohl wrote:
>> i would store them somewhere else (a tool for it in the ZODB maybe?)
>> and retrieve the right connection based on a simple key you store in
>> the session.
> Actually yes, that's what I'm doing right now. New connection is 
> stored in
> ZODB, opened and user enjoys his work for a while. But the problem is, 
> when
> we have thousands of users and Zope need to logout or break the 
> connection
> somehow when user just CLOSES browser, but not logged out via logout 
> form,
> then connection is still open.
>
> -- 
> Regards, Bogdan
>