I have two applications. In pages.xml I can only set one login-view-id. Now it is set to the login page of application B. When I sometimes get a session timeout in application A, then I get a redirect to the login page of application B. I've set ViewExpiredException to a default error page. Can someone advise me how to deal with this issue?
That what you want is called Single Sign On (SSO) such as Jboss SSO or CAS. Seam security can integrate with SSO.