Hi all,
I want to do a login page.Suppose in user name and password textboxs i provide wrong information three times,then after that i will provide the correct information it will not accept it for the same day when i login.
Thanks
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Marimuthu ArigovindasamyPosted Jun 22, 2010, 4:24 AM
if(check the username exists)
begin
if(InvalidAttempts for that user is 3)
begin
return "You account is locked"
end
else
begin
if(check the password is correct, if it is incorrect)
begin
Increment the table column InvliadAttempt value..
return "Invalid username or password"
end
else
begin
return "Success"
end
end
end
else
begin
return "invalid username"
end
Satyapriya NayakPosted Jun 22, 2010, 3:18 AM