@tornado.gen.coroutine
    def find_current_session(self):
        if self.application.caughtinterrupt:
            # Server is shutting down; don't accept any significant requests.
            raise MessageException('Server is shutting down!')
        res = yield self.application.twsessionmgr.find_session(self)
        if (res):
            (self.twsessionstatus, self.twsession) = res
        return True
Look up the user's session, using the sessionid cookie.
dataset/ETHPy150Open erkyrath/tworld/lib/tweblib/handlers.py/MyHandlerMixin.find_current_session