143144145146147148149150151152153
// No session exists yet -- create one if (session == null) { try { session = store.load(getKey(sessionKey)); session.postLoad(); } catch (IOException e) { log.log(Level.WARNING, "Failed to load saved session", e); session = new LocalSession(); }