On Tue, Mar 2, 2010 at 12:55 PM, Maarten ter Huurne <maar...@treewalker.org> wrote: > On Tuesday 02 March 2010, markscottwri...@gmail.com wrote: > >> I'm using twisted 8.2 and (after reading glyph's latest "Twisted in 60 >> seconds" entry), I've realized that my sessions never expire. I never >> added any session expiration code, but I thought that the default code >> expires after 15 minutes. >> >> In the below example, I modified twisted\web\server to make >> Session.sessionTimeout be 30 seconds (I also put a print statement in >> Session's ctor, as the log shows), then did two GETs separated by more >> than 30 seconds. As the log shows, it looks like the exact same session >> uid is being returned. I would expect it to be deleted by >> Session.expire, since time - lastModifiedTime > 30. Am I missing >> something? > > Maybe you are encountering bug 3458? > > http://twistedmatrix.com/trac/ticket/3458 > > If so, upgrading Twisted would help. > > Bye, > Maarten
Thanks, that looks like a likely culprit. Please forgive me if this is more of a Trac than Twisted question, but how do I go from a trac ticket to a twisted version number? It's not clear to me from reading that ticket if 9.0 is good enough for me, or if I need to pull the svn tip. -- Mark Wright markscottwri...@gmail.com _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python