The "idle-timeout-minutes" is meant for datasources and does not have anything to do with the user session timing out. Are you talking about the session-timeout which can be configured in web.xml?
Try using HttpSessionListener class. and implement
Yes jaikiran, I mean the one in web.xml (sorry, should have specified that).
That's great Nishan, thanks for the advice - I figured there must some way of achieving it!