unbind(httpSession.getId());
/** * @see org.apache.wicket.session.ISessionStore#invalidate(Request) */ public final void invalidate(Request request) { WebRequest webRequest = toWebRequest(request); HttpSession httpSession = getHttpSession(webRequest); if (httpSession != null) { String applicationKey = application.getApplicationKey(); try { SessionBindingListener l = (SessionBindingListener)httpSession .getAttribute("Wicket:SessionUnbindingListener-" + applicationKey); if (l != null) { l.unbound = true; } // call unbind unbind(httpSession.getId()); // tell the app server the session is no longer valid httpSession.invalidate(); } catch (IllegalStateException e) { // can safely be ignored } } }