public String getSessionCookie() {
    return sessionHandler.getSessionCookieConfig().getName();
  }
The session cookie id (i.e. AMBARISESSIONID).

@return the session cookie
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariSessionManager.java