tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kouba <martin.ko...@symbiont-it.cz>
Subject Re: CrawlerSessionManagerValve - problem with removing sessionInfo
Date Tue, 28 Jun 2011 08:01:55 GMT
org.apache.catalina.SessionListener does not have to be defined in
web.xml. It's Tomcat internal class - org.apache.catalina.Session has
method addSessionListener()... Though
javax.servlet.http.HttpSessionBindingListener may be a better
solution, because it's part of a standard.

Martin

2011/6/28 Mark Thomas <markt@apache.org>
>
> On 27/06/2011 21:42, Martin Kouba wrote:
> > You may inspire yourself with code from my blog post -
> > http://www.symbiont-it.cz/crawlersessionmanagervalve-a-tomcat6, lines 86
> > to 134 (text is unfortunately in czech :-).
>
> No problem, I can figure it out.
>
> I actually went a different way as SessionListener has to be defined in
> the web.xml. Instead I went with an approach based on
> HttpSessionBindingListener.
>
> I'm testing this now with the Jira instance at issues.a.o and if all
> goes well, it will be in the next 7.0.x release.
>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message