php - how to restrict registered user from trying to vote again -


this question has answer here:

i'm new php coding , website designing.

i'm trying develop online voting system, registered users only, allowed vote. have done , it's working fine, need after user have logged out, how can make user not able login again , vote twice? or how can redirect user second time?

you can manage user taking field in database table. applying condition on field @ time of login able restrict user had given vote.


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -