[Twisted-web] Nevow: How to use sessions?

Donovan Preston dp at ulaluma.com
Tue Dec 14 12:10:03 MST 2004

On Dec 14, 2004, at 8:28 AM, Mohamed Lrhazi wrote:

> Thanks dp, that clarified it up for me.
> Now, I see in the twisted api one could have a function called when 
> the session is about to be destroyed. can I easily, from nevow, 
> register a function to do some clean up after a session is over? say 
> my object holds a connection to a database or whatever and I would 
> need to close it and update it or something?

Nevow sessions have the same API as twisted.web sessions do. So just do 
the same thing.


More information about the Twisted-web mailing list