On 03/10/2016 17:38, GOKULA KRISHNAN wrote: > Hi, > > I want to trigger the sessionDestroyed event from custom implementation of > ManagerBase. sessionDestroyed is not called when session expires but called > during session invalidate. I need to call sessionDestroyed during session > time out.
This makes no sense. session expiration, session invalidate and session timeout are all, essentially, the same thing. A call to isValid() checks, amongst other things, the timeout and expires the session if there has been no activity for at least the timeout period. You are going to have to be a LOT clearer about what you are trying to achieve. Better still, explain the real requirement rather than asking how to implement what you think is the right solution. Mark > > The class starts like this. > > *public class CustomRequestSessionManager extends ManagerBase implements > Lifecycle* > {... > ..} > > Please help me ASAP, since this is an urgent need. > > Thanks, > Gokul. > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org