hi
in my web.xml file
<session-config>
<session-timeout>3</session-timeout>
</session-config>
and i write a class SessionCounterListener implements HttpSessionListener

even i 'm using the system or application the session destroyed is calling.why?
actually i want this to be worked when the user is not touching the system for 3 minute,means system ideal time,
how to use HttpSessionBindingListener .i also has another class SessionListner implements HttpSessionBindingListener.
how to user the session listner.
actually i'm using spring mvc ,
how to solve this
thanks in advance