I am using RichFaces 3.2.1 with Spring Web Flow 2.0.2. Session timeout works perfectly if I click any of the links in the application. Request goes through the filter, detects session timeout and forwards to timeout page..
But I am facing problem with few buttons. I have a form in my application with a4j:commandButton. After session timeout (30 minutes), if user clicks the a4j:commandButton, user is not forwarded to timeout page. No action occurs on clicking the a4j:commandButton after session timeout.
If I change the buttons to h:commandButton, session time out works. But I cannot change the buttons to h:commandButton, because my Ajax functions does not work then. Have any one of you experienced this before?
have you read in our guide about onError and onTimeout event handlers ? Maybe these ones will fit your needs.