w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
How to prevent a logged in user from visiting the login page

You could put the following script in your login view (the one that contains the username and password fields):

<script type="text/javascript">
    window.history.forward();
</script>




© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.