hello friends this is my first question on java ranch. I am working on web based application (database on cloud) and i want to disable the back button when user click on log out button, means that if user clicks on log out button then he will not be able to go to the previous page. I am doing invalidate the session but when i click the back button then it take me on previous page,although i am not able to do anything on it but still its matter that why it take me on previous page. I just want to stay on current page can anyone help me out...