Is the destroy() method in the ActionServlet where I would place tasks such as invalidating a session, updating DB info for the user like isLoggedIn, and things like that? Also, when does this method get called?
Well, I figured out that when the session timesout, I don't need to invalidate the session. So I think I am alright there. However, I am still needing to find out some information. When the session times out, I need to modify the database. But I still need some of the information that is contained in the session. Specifically my UserBean because I need to update the database with the fact that the user has logged out. So I still need to find out when the destroy() method gets called and if there is a method somewhere I can override when the session gets invalidated by the App Server so I can still have by Session for a brief moment. Thanks.