code: @Nonnull
    public static String getWithoutSessionID (@Nonnull final String sValue)
    {
      ValueEnforcer.notNull (sValue, "Value");
  
      // Strip session ID parameter
      final int nIndex = sValue.indexOf (';');
      return nIndex == -1 ? sValue : sValue.substring (0, nIndex);
    }
docs: Get the passed string without an eventually contained session ID like in
  "test.html;JSESSIONID=1234".<br>
  Attention: this methods does not consider eventually present request
  parameters. If parameters are present, they are most likely be stripped
  away!
  
  @param sValue
  The value to strip the session ID from. May not be
  <code>null</code>.
  @return The value without a session ID or the original string.