[Twisted-Python] Patch: Passive getSession for twisted.web.server.Request
Tom 'Korpios' Tobin
korpios at korpios.com
Fri May 16 11:50:25 MDT 2003
Hmm. I specifically don't like the way Woven works. My preferred web development method is akin to Quixote; I really can't stand HTML templating in the vein of PHP, etc. That said, am I going to need to reimplement Session code down the road due to this phase-out? Even if SessionWrapper works standalone without using the bulk of Woven, I would much rather not be importing any Woven libraries unnecessarily.
Thanks,
Tom "Korpios" Tobin
korpios at korpios.com
On Fri, May 16, 2003 at 12:14:21PM -0500, Glyph Lefkowitz wrote:
>
> The session stuff in twisted.web.server is on its way to being phased
> out anyway. Have a look at twisted.web.woven.guard - resources wrapped
> with a SessionWrapper will have the semantics of getSession that you
> want; it puts a setupSession method on the request which tells the
> browser to begin negotiating a session. (Also, this method is
> resilient in the face of cookies being disabled.)
More information about the Twisted-Python
mailing list