How do I make my t.web sessions really persistent?
Nov. 8, 2010
6:27 p.m.
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?
5200
Age (days ago)
5200
Last active (days ago)
0 comments
1 participants
participants (1)
-
Yaroslav Fedevych