I've just finished Chapter 12 in Novice to Nina.
I've got an issue when if a user tries to logout they get the message "you have been logged out" but once they click back on any link like 'add new joke' or 'joke list' it immediately logs them back in. I downloaded the code from the github repository to compare it with my code but it seemed to do the exact same thing. Any idea of where I have gone wrong?
Github Repository: https://github.com/spbooks/phpmysql6/tree/Sessions-CheckUser-Secured