![](https://secure.gravatar.com/avatar/16922df7c2459acc73113a6f34d3e84e.jpg?s=120&d=mm&r=g)
Hi! I was looking for a possibility to set session timeout - I found this timeout hardcoded in twisted.web.server module. Shouldn't it be more flexible? ;-) -- Bartek Bargiel
![](https://secure.gravatar.com/avatar/44e3f98a2f3b7213d5f14b558a849dd2.jpg?s=120&d=mm&r=g)
On Thu, 2004-09-23 at 14:57 -0400, Bartek Bargiel wrote:
Hi!
I was looking for a possibility to set session timeout - I found this timeout hardcoded in twisted.web.server module. Shouldn't it be more flexible? ;-)
Yes, it should be more flexible. To be frank, sessions are not well implemented in t.web at the moment. Hopefully, I or someone else will get be able to do something about that in time for the web2 release. In the meantime, attached is my twebsucks.py ;-) module I've been using. I use a NevowSite but you should be able to do the same for t.web.server.Site. Cheers, Matt -- __ / \__ Matt Goodall, Pollenation Internet Ltd \__/ \ w: http://www.pollenation.net __/ \__/ e: matt@pollenation.net / \__/ \ t: +44 (0)113 2252500 \__/ \__/ / \ Any views expressed are my own and do not necessarily \__/ reflect the views of my employer.
participants (2)
-
Bartek Bargiel
-
Matt Goodall