help setting up a database, please
Moderator: General Moderators
help setting up a database, please
Does anyone know how I can set up a database with users who can only log in a certain amount of times before their account expires? I would really appreciate any help or suggestions on how to do this. Thanks in advance.
- jaoudestudios
- DevNet Resident
- Posts: 1483
- Joined: Wed Jun 18, 2008 8:32 am
- Location: Surrey
Re: help setting up a database, please
In the user table keep a counter and increment everytime they log in. When they log in check this value if greater than your specified limit do not let them log in. Fire back an error message
Re: help setting up a database, please
Thanks a lot that really helps me out.