I have written simple application with container-managed security. The problem is when I log in and open another page on which I logout, then I come back to first page and I
Please add this line in your web.xml It works for me
org.ajax4jsf.handleViewExpiredOnClient true