How would I trigger a bean to record session information to a database upon the session expiring? Thanks!
posted 13 years ago
Hi David, I think you should try HttpSessionBindingListener. It can listen to session un-binding events. It's explained with an exmaple in the "Professional JSP" book by Wrox. You can use it in a bean too. The bean method can simply implement this interface. Hope it helps.