This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara 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