timeout « Page « JSF Q&A





1. How to check if there is an active session in a JSF page?    stackoverflow.com

there is a way to check if there is an active session directly in jsf page? I have try this but it doesn't work:

<p:ajaxStatus onerror="#{session == null ? 'idleDialog.show();' : null}"
thank you ...