Session timeout: session alive indefinitely


I want that a session will be closed automatically if the user don’t makes any activities for a while. To do that i have add to the web.xml two line (session timeout of 1 minute is only for testing, I will set this later to a higher value)


<?xml version="1.0" encoding="UTF-8"?> ... Close session if there are no user activities (after [session-timeout] minutes) closeIdleSessions true ... 1 ... </web-app [/code]After creating a new session and waiting for more as ten minutes the session is still open and wasn't invalidated... Is there something missing?