This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Originally posted by kwwong wong: For example, when I get the sessionID from database and want to know the session is alive or not. How can I do?
Hi, Kwwong, I just found out, how it works for Tomcat's Session Manager. Using org.apache.catalina.session.ManagerBase you can call the method findSession(java.lang.String id) which returns the active Session with the specified session id if there is one otherwise it returns null. sl Hartmut