def on_invalidation(self, session_key, session=None, ise=None):
        """
        :type session_key:  session_abcs.SessionKey
        :type session: session_abcs.Session
        :type ese: InvalidSessionException
        """
        if session:
            super().on_invalidation(session, ise, session_key)

        web_registry = session_key.web_registry

        del web_registry.session_id
def on_invalidation ( self , session_key , session = None , ise = None ) : if session : super ( ) . on_invalidation ( session , ise , session_key ) web_registry = session_key . web_registry del web_registry . session_id
:type session_key:  session_abcs.SessionKey
        :type session: session_abcs.Session
        :type ese: InvalidSessionException