[Twisted-Python] woven authentications and connections.

Donovan Preston dp at twistedmatrix.com
Fri Oct 3 12:52:39 EDT 2003

On Oct 3, 2003, at 4:47 AM, Syver Enstad wrote:

> I am in the process of implementing authentication for an intranet
> application using woven. I will be storing the login information in
> the session. On each request I will connect to the database and pass
> the connection to the page handling the request. How do I know when
> the request is finished so that I can close the connection?

Overriding Page.pageRenderComplete should be what you want.


More information about the Twisted-Python mailing list