sesProps.put(SESSION_NAME,sessionName);
if(sessionName == null) sesProps.put(SESSION_TERM_NAME,sesProps.getProperty(SESSION_HOST)); else sesProps.put(SESSION_TERM_NAME,sessionName);
   public Session openSession(Properties sesProps, String configurationResource                                                , String sessionName) {//                                             throws TN5250jException {      sesProps.put(SESSION_NAME,sessionName);      if (configurationResource == null)         configurationResource = "";      sesProps.put(SESSION_CONFIG_RESOURCE                        ,configurationResource);      Session newSession = new Session(me,sesProps,configurationResource,sessionName);      sessions.addSession(newSession);      return newSession;   }