At the end of a transaction, the (possibly changed) session
is not added back to the current SessionStore, so changes
are lost. Not good.
The attached patch (against today's CVS) fixes it.
Btw, it seems to me that it would be reasonable
for SessionStore to provide a default storeSession
method, using the dictionary metaphor. Subclasses
could override, but this default makes sense for most
def storeSession(self, session):
self[session.identifier()] = session
Log in to post a comment.