I am using a publicly made login to test and modify, however no matter what I do when a user logs out, they are able to log right back in by using the back button in their browser, refresh the page, and still be logged in. What is the best way to prevent this? I am new to PHP and am in the process of learning. Any help would be greatly appreciated.
You can find all of the files necessary here: https://github.com/devplanete/php-login-advanced.
You can also test it here: http://www.php-login.net/demo3.html