Session.expiring() is supposed to be called whenever the session 
expires. I see it called only in SessionStore:

        def cleanStaleSessions(self, task=None):
                [snip]
                                sess.expiring()
                                del self[key]

But there are other places that get rid of of sessions, like 
Application.isSessionIdProblematic().

I noticed this because my context installs a custom session class into 
the application (for logging purposes).

Seems to me that __delitem__ of the various SessionStores should be 
invoke expiring() so that the ultimate source of removal doesn't matter.

A flag will be needed so the message isn't sent twice by 
DynamicSessionStore.


Anyone have any comments on this proposed change?

-Chuck

_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to