[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jetty-users] Jetty8RC0 - HttpSessionListener.sessionDestroyed() not called
|
yes, file a bit and I'll take a look at it
bugs.eclipse.org
RT/Jetty
cheers.
jesse
--
jesse mcconnell
jesse.mcconnell@xxxxxxxxx
On Sat, Sep 3, 2011 at 11:12, Clemens Eisserer <linuxhippy@xxxxxxxxx> wrote:
> 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
> jetty-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>