This content has been marked as final. 
    
Show                 4 replies
    
- 
        1. Re: Ajax + session timeoutneeryck Sep 8, 2010 6:08 PM (in response to neeryck)One more question. Have a way to redirect user to another page when session expired with ajax request (a4j:commandButton)?? Thank's a lot advance!! []'s 
- 
        
- 
        4. Re: Ajax + session timeoutneeryck Sep 10, 2010 10:19 AM (in response to ilya_shaikovsky)Thanks for your atention and reply Ilya. I never did that! I already tried make everything in the documentation but doesn't work. web.xml: <context-param><param-name>org.apache.myfaces.ERROR_HANDLING</param-name><param-value>false</param-value></context-param><context-param> <param-name>org.apache.myfaces.ERROR_HANDLING</param-name> <param-value>false</param-value> </context-param> <context-param> <param-name>org.ajax4jsf.handleViewExpiredOnClient</param-name> <param-value>true</param-value> </context-param> And in the xhtml:A4J.AJAX.onExpired = function(loc,expiredMsg){if(window.confirm("Custom onExpired handler "+expiredMsg+" for a location: "+loc)){return loc;} else {return false;}}I don't understand why it never worked, so I gave up.where I could be wrong?Thank's a lot advance![]'s
 
    