refresh a <ui:composition when j_security_check connection interrupted (http 408)

Posted by José Osuna Barrios on Stack Overflow See other posts from Stack Overflow or by José Osuna Barrios
Published on 2012-12-16T04:58:43Z Indexed on 2012/12/16 5:03 UTC
Read the original article Hit count: 149

I have a "j_security_check connection interrupted (http code 408)" and proposed solution is <meta http-equiv="refresh" content="#{session.maxInactiveInterval}"/> by http://stackoverflow.com/a/2141274/1852036 but my page structure is a composition using a template.xhtml and a view.xhtml like a <ui:composition:
my template.xhtml:

<html ...
<f:view ...
<h:body ...
 <ui:insert name="content">
...

my view.xhtml to refresh when session.maxInactiveInterval

<ui:composition ...
<ui:define name="content">
...

may anyone help me to do this? I want to refresh this <ui:composition view, I can't use <meta http-equiv="refresh" content="#{session.maxInactiveInterval}"/> on template.xhtml because it's used by several views

© Stack Overflow or respective owner

Related posts about session

Related posts about authentication