def retrieve_session(self, session_id):
    session_data = self._load_session_data(session_id)
    if not session_data:
      return None
    user_id = session_data['user_id']
    expires = time() + (user_id and self.session_renew or self.anon_session_renew)
    if session_data['expires'] < expires:
      session_data['expires'] = expires
      if not self._cache_session_data(session_data):
        self._update_expiry(session_id, session_data)
    session = self._instantiate_session(session_data, self._session_cache)
    return session
Instructs handler to listen to Django request and handle
dataset/ETHPy150Open JeremyOT/Toto/toto/dbconnection.py/DBConnection.retrieve_session--crossover with--dataset/ETHPy150Open idlesign/django-sitecats/sitecats/toolbox.py/CategoryRequestHandler.listen