Mouse movement for session timeout in GWT
I'm working on GWT. In my application I want to add a session time out after 2 minutes when no action is performed (including mouse events). I wrote a class in which I used a GWT session object. public static boolean ValidSession(HttpSession session) { boolean aResult = true; logger.debug("Start of ValidSession"); try { if(session!=null ) { String strUserInf=""; strUserInf=(String)session.getAttribute("userInf"); logger.debug("User Inf in session is: " + strUserInf); if(strUserInf==null || strUserInf.trim().equals("")) { logger.debug("User Info blank"); aResult =false; } } else { logger.debug(