code: def get_homepath(self, ignore_session=False, force_cookieless=False):
          
          if not ignore_session and self._session.get("session_id") is not None and self._session.get("cookieless", False):
              return web.ctx.homepath + "/@" + self._session.get("session_id") + "@"
          elif not ignore_session and force_cookieless:
              return web.ctx.homepath + "/@@"
          else:
              return web.ctx.homepath
docs: :param ignore_session: Ignore the cookieless session_id that should be put in the URL
          :param force_cookieless: Force the cookieless session; the link will include the session_creator if needed.