Hi,

I've switched recently from jetty 7.4 to Jetty-8RC0, but encountered a
problem with session listeners.
I add a SessionListener to the ServletContext in order to do some
cleanup-work when the session is destroyed,
however with Jetty-8RC0 it seems sessionDestroyed is never called.

I use the following code:

> ServletContextHandler context = new 
> ServletContextHandler(ServletContextHandler.SESSIONS);
> context.getSessionHandler().getSessionManager().setMaxInactiveInterval(90);
> context.getSessionHandler().addEventListener(new CacioSessionListener());
> context.addServlet(new ServletHolder(new SomeServlet()), "/SomeServlet");

With Jetty-7.4 the code above works as intended.
Should I file a bug about that?


Thanks, Clemens
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to