def notifyOnExpire(self, callback):
        self.expireCallbacks.append(callback)
Call this callback when the session expires or logs out.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/web/server.py/Session.notifyOnExpire