[Twisted-web] session expiration

Matt Goodall matt at pollenation.net
Thu Sep 23 12:38:15 MDT 2004

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

Cheers, Matt

    /  \__     Matt Goodall, Pollenation Internet Ltd
    \__/  \    w: http://www.pollenation.net
  __/  \__/    e: matt at pollenation.net
 /  \__/  \    t: +44 (0)113 2252500
 \__/  \__/
 /  \          Any views expressed are my own and do not necessarily
 \__/          reflect the views of my employer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: twebsucks.py
Type: application/x-python
Size: 1058 bytes
Desc: not available
Url : http://twistedmatrix.com/pipermail/twisted-web/attachments/20040923/61656ceb/twebsucks.bin

More information about the Twisted-web mailing list