I like this idea of longer sleeps for each fail in theory, 
but it becomes moot if you only allow 3 failed attempts. 

> -----Original Message-----
> From: Tim Van Wassenhove [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, July 20, 2004 3:37 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP-DB] Wait Statement... ?
>
> Every time someone tries to authenticate, you count the number of
> failures in both queues. The larger the number, the longer the sleep
> will take. (removing old entries once in a while might speed 
> up things)

Daevid Vincent
Senior Engineer / Architect

two.zero.six.two.eight.five.eight.zero.eight.zero
 _               _       _                     
| |    ___   ___| | ____| | _____      ___ __  
| |   / _ \ / __| |/ / _` |/ _ \ \ /\ / / '_ \ 
| |__| (_) | (__|   < (_| | (_) \ V  V /| | | |
|_____\___/ \___|_|\_\__,_|\___/ \_/\_/ |_| |_|
x104                                   Networks.com

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to