Prevent browser back button after login and logout

2019-07-18 15:26发布

问题:

In Oracle APEX, how do I prevent a user from navigating back to the login page from the home page using browser back button after login, and then navigating back to home page from the login page after logout? I tried the following JavaScript code

window.history.forward();

But it did not give me the expected results.