Forums
This topic is locked
How to log in 3 times or less?
Replies
Replied 05 Feb 2004 19:16:50
05 Feb 2004 19:16:50 Erik Piisila replied:
Create a session variable on the log in page with a value of zero. Request the session variable on a "we're sorry page", add 1 to it and redfine the session variable. Give them a link back to the log in page. Also on the log in page, have an if then statement thats says if variable > 2 then response.redirect to another page.
So when you first come to the log in, the variable is assigned a zero. Each time you fail and go to the access denied page, the variable is increased by 1.
Edited by - steelerfan70 on 05 Feb 2004 19:18:53
So when you first come to the log in, the variable is assigned a zero. Each time you fail and go to the access denied page, the variable is increased by 1.
Edited by - steelerfan70 on 05 Feb 2004 19:18:53