Redirect handling PrimeFaces Ajax requests on session timeout in Spring Security
问题 I am trying to get the JSF web front-end to redirect to back to the login page (in Spring Security) when the session times-out. I have tried using a meta-refresh approach, however this causes an undesired side-effect that the meta-refresh time will not be updated when only AJAX controls are used on the page. This means that the page may refresh while you are still using it, because you haven't transitioned to another page and only made AJAX calls to the server. I have not found a way to