I want to avoid back button after user has logged in JSF application. I am able to achieve this functionality after I log out but not after logging in. For logout purposes I have used setheader method given here in the answer but it doesn't work to avoid back button after I log in.
Avoid back button on JSF web application
An answer without using javascipt would be better