I had designed a web application with username/password logging in a JSP page and verification process in a servlet. I use sendRedirect to redirect to another JSP page with the message Welcome User. The problem I am facing is I am unable to stop the browser from caching web pages.
After logging in when I use BACK browser button I see the same form just submitted with the same values filled in. This is not my current state. Since user has already logged in when I use the back browser button both username/password text fields should be empty. This is what I am expecting. I used all cache controlling techniques