code: def create_lti_session(self, user_id, roles, realname, email, course_id, task_id, consumer_key, outcome_service_url,
                             outcome_result_id, tool_name, tool_desc, tool_url, context_title, context_label):
          
  
          self._destroy_session()  # don't forget to destroy the current session (cleans the threaded dict from web.py)
          self._session.load('')  # creates a new cookieless session
          session_id = self._session.session_id
  
          self._session.lti = {
              "email": email,
              "username": user_id,
              "realname": realname,
              "roles": roles,
              "task": (course_id, task_id),
              "outcome_service_url": outcome_service_url,
              "outcome_result_id": outcome_result_id,
              "consumer_key": consumer_key,
              "context_title": context_title,
              "context_label": context_label,
              "tool_description": tool_desc,
              "tool_name": tool_name,
              "tool_url": tool_url
          }
  
          return session_id
docs: Creates an LTI cookieless session. Returns the new session id