[Twisted-web] How do I make my t.web sessions really persistent?

Yaroslav Fedevych jaroslaw.fedewicz at gmail.com
Mon Nov 8 19:27:23 EST 2010


When I create sessions with

inevow.IRequest(context).getSession(),

the session's uid does not survive when the server is restarted. But
this is a problem: I want my sessions to expire solely by either
closing the browser (and thus destroying the cookie) or expiry with
idle timeout, and not by a server restart (because I have implemented
a mechanism by which sessions are persistent on disk. Kinda useless if
they don't survive server restarts).

How do I achieve this kind of behavior?

-- 
Engineer : How do I do it?
Economist : How much will it cost?
Twisted Developer: But does it block?



More information about the Twisted-web mailing list