Well
Simplest method is to maintain a counter variable field & a date field in the database, in case of every incorrect login for the day (check with the date field), imcrement the counter variable, then restrict if count = 3, & if successful, set the counter to zero.
But don't forget to update the date field with current date, and manipulate accordingly to maintain counters.
Regards
Mike
Fortune favours the brave, so don't regret on missed oppurtunities.
|