greetings all
i have an application which are made with Spring framework and deployed on apache,tomcat
and i see on tomcat manager that there are many un-used sessions in the application
and i want to trace when this session are created and who is creating them, how to do so ?
greetings all i have an application which are made with Spring framework and deployed
Share
Make a
HttpSessionListener, register it in web.xml (or with annotations, if using servlet 3.0).the
sessionCreated(..)method is triggered whenever a session is created.