cookie expiration session jsf tomcat code example
Example: cookie expire on session jsf tomcat
@WebListenerpublic class SecurityHttpSeesionListener implements HttpSessionListener {@Overridepublic void sessionCreated(HttpSessionEvent event) { System.out.printf("Session ID %s erzeugt um %s%n", event.getSession().getId(), new Date());}@Overridepublic void sessionDestroyed(HttpSessionEvent event) { System.out.printf("Session ID %s zerstört um %s%n", event.getSession().getId(), new Date());}}