List of usage examples for javax.servlet.http HttpSessionContext getSession
@Deprecated
public HttpSession getSession(String sessionId);
From source file:com.hangum.tadpole.session.manager.SessionManager.java
/** * ? session? invalidate.// w w w .j ava 2 s . c o m */ public static void invalidate() { try { HttpSession sStore = RWT.getRequest().getSession(); HttpSessionContext hsc = sStore.getSessionContext(); Enumeration ids = hsc.getIds(); while (ids.hasMoreElements()) { String id = (String) ids.nextElement(); if (logger.isDebugEnabled()) logger.debug("==========================> " + hsc.getSession(id)); } } catch (Exception e) { logger.error("user session invalidate", e); } }