Welcome Guest, Not a member yet? Register   Sign In
How to implement 3 times login attempts with a 15 minutes login blockage at incorrect entries. (CI + smarty)
#2

[eluser]Dam1an[/eluser]
In order to get the most help possible, you should always post what you've tried so far, or if its still in the idea stage, what potential solutions you've come up with etc.

(Although you've done much better then some people who just say "GIVE ME CODE TO DO XYZ")

I'd recommend logging the failure ina database with the username, time of failure and failure count, if they fail again, incremement the count and update the timestamp.

When a user tried to login, check this table, if the fail count is 3 and timestamp is less then 15 minutes ago, show the error, else proceed as normal


Messages In This Thread
How to implement 3 times login attempts with a 15 minutes login blockage at incorrect entries. (CI + smarty) - by El Forum - 04-28-2009, 05:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB