In this blog we will see how to solve the logout back button problem, this is a simple solution to handle but its not robust but still works well less number of pages. Here is the JS for <pre> function preventBack(){ window.history.forward(); } setTimeout("preventBack()", 0); window.onunload=function(){null}; </pre> Here is the Demo Another way of overcoming this would be adding recaptcha to the login form , even though the form gets resubmitted it will fail at captcha as it would be different for every page load.
Thoughts on Application development on salesforce platform