[Twisted-web] How to know if a LIveElement is alive :)

Paul Reznicek maillists at ivsn.com
Fri Jun 26 21:22:17 EDT 2009


Juanjo Conti wrote:
> 2009/6/26 Juanjo Conti <jjconti at gmail.com>:
>> Hi, I wonder know if my nevow.athena.LiveElement intances are alive.
>> This means for example, the web browser was now closed.
>>
>> I've been checking the API documentation at
>> http://buildbot.divmod.org/apidocs/nevow.athena.LiveElement.html but
>> didn't fin any sutable method for asking this.
>>
> 
> I thought I could use the LiveElement detached method
> http://buildbot.divmod.org/apidocs/nevow.athena._LiveMixin.html#detached
> but it semms not to be called when I close the browser where a
> LIveElement is living...

Hello,
2 months back I've had same question - working solution from Werner
is in attached message.
Regards, Paul
-------------- next part --------------
An embedded message was scrubbed...
From: Werner Thie <wthie at thiengineering.ch>
Subject: Re: [Twisted-web] Athena LiveElement: how to putChild under unique
	session URL?
Date: Wed, 22 Apr 2009 16:44:17 +0200
Size: 5044
Url: http://twistedmatrix.com/pipermail/twisted-web/attachments/20090627/5347c8f7/attachment.eml 


More information about the Twisted-web mailing list