code: def get_session_data(self, request):
          
          user = request.session['%suser' % SESSION_KEY]
          profile = request.session['%sprofile' % SESSION_KEY]
          client = request.session['%sclient' % SESSION_KEY]
          return user, profile, client
docs: Return a tuple ``(user, profile, client)`` from the session.