code: public String getAppNameAndID() {
          StringBuffer sb = new StringBuffer(" AppName=");
          sb.append(_appName);
          sb.append("; Id=").append(_sessionId);
          return sb.toString();
      }
docs: /*
  To get the application Name and Session ID for logging purposes. This will remain the same throughout
  this session's lifetime, so we just need to get this string once per session.
  For a backedSession, this needs to be called during initSession as well.