docs: public static String getUrlWithoutSessionId(String url, String sessionIdName) {
  
          if (isSessionEncodedInUrl(url, sessionIdName)) {
              return url.substring(0, url.indexOf(getSessionIdSubstring(sessionIdName)));
          }
          return url;
      }