This is a common question and the answer is that you can't reliably disable the back button. There's no need to either. The first question to ask yourself is why you want to do it. If the page is being cached after logout, prevent page caching. If unsaved data is being lost, use onbeforeunload to ask the user if they're sure they want to leave the page.
Comment