Locking a login after x number of tries (vb.net and sql)

From: angel (c_cw@nospan.yahoo.com)
Date: 10/23/02


From: "angel" <c_cw@nospan.yahoo.com>
Date: Tue, 22 Oct 2002 15:13:54 -0700


Hi !

I would like to lock users from accessing a webpage after
certain number of tries.

Here is scenario:
 
1) Failed at 1:00PM
2) Failed at 2:00PM
3) Failed at 3:00PM
4) Failed at 4:00 PM
5) Failed at 5:00PM (Locked)
 
You are locked until 1:00PM the next day. But if you make
another bad attempt you have wait until 2pm.

I have created a table in SQL that gets failed logins as
well as date (getdate()) and a boolean field called
sucessloginattempt but I am getting stuck right here.

could anyone have any idea how to accomplish this?

Thanks in advance,

Angel