CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 3 Strike lock-out on Login

Print topic Send  topic

Author Message
beer-monkey.com
Posted: 03/08/2002, 4:48 AM

I would like to have a 3-strike lock out for accessing the administration section of my website. If a user enters 3 incorrect passwords in a row then the user is set to "quarantined" status, which can only be re-set by myself. Is this possible using CC?
Nicole
Posted: 03/11/2002, 2:50 AM

Hello,
create any temporary variable (lets say of session type) in custom Login event. Set its value to null when user access Login page first time. Increase it each time user enter incorrect password. In case var value equals to 3 update users table and set "status" field to 'locked'.

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.