In my Vote web-app the user can\'t vote more than once, in the UsersLogin.php to get information and check if he voted before using php , if not I redirect him to VotePage.