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
I was getting this error : javax.faces.application.ViewExpiredException.When I using different requests, I found those having same JsessionId, even after restarting the server.
So this is due to the browser cache. Just close the browser and try, it will work.