-
1. Re: onExpired not getting called with form authentication
jdsuboy Mar 31, 2009 9:25 AM (in response to jdsuboy)couple more points:
1) I have STATE_SAVING_METHOD set to server
2) I have handleViewExpiredOnClient set to true -
2. Re: onExpired not getting called with form authentication
nbelaevski Mar 31, 2009 8:16 PM (in response to jdsuboy)Hello,
You can try configuring error page for ViewExpiredException that will redirect users to login screen. -
3. Re: onExpired not getting called with form authentication
jdsuboy Apr 1, 2009 9:20 AM (in response to jdsuboy)thanks for the response!!
The problem is, with form authentication on, I never "catch" that exception with the A4J.AJAX.onExpired. Once the session expires and I perform an action, it immediately kicks me to the login screen. After I login, then I get the session expired error, but never catch it.
I added a phase listener, and in the above case, it doesn't even get to phase 1 before it kicks me to the login screen, so it is being intercepted by the server before it handles the phases.
Are you saying that I should catch it on the server side? If so, where would I do that???
Thanks! -
4. Re: onExpired not getting called with form authentication
nbelaevski Apr 1, 2009 9:32 AM (in response to jdsuboy)I see. Setup error page for ViewExpiredException and remove onExpired function; you'll be directed there just after login if session expired.