Disable browser's Back button
In a web application, which is non-static. We always wanted the end user not to go back by clicking the browser's Back button, for that we need to disable it.
Disabling the browser's Back button is not possible, so to accomplish that we can use JavaScript to make the user stay on the same page even he clicks on the Back button.
Include the following JavaScript in all pages or in the Master page of the application, after the user logs in:
Disabling the browser's Back button is not possible, so to accomplish that we can use JavaScript to make the user stay on the same page even he clicks on the Back button.
Include the following JavaScript in all pages or in the Master page of the application, after the user logs in:
No comments: