couple more points:
1) I have STATE_SAVING_METHOD set to server
2) I have handleViewExpiredOnClient set to true
You can try configuring error page for ViewExpiredException that will redirect users to login screen.
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???
I see. Setup error page for ViewExpiredException and remove onExpired function; you'll be directed there just after login if session expired.