if (url == null || url.length() == 0) { return url; }
    public String getId(String url) {        String result;        if (url.charAt(0) == '-') {            result = url;        } else {            result = url.substring(0, url.length() - sessionEncoding.length());        }        return result;    }