Maurizio Lotauro wrote:
> Scrive Heiko Sommerfeldt <i...@phoner.de>:
> 
> [...]
> 
>> The main problem is the following: If the user (of the browser) puts
>> in a wrong password the connection is refused. Now the user opens
>> (refresh) the page again and the browser sends the rejected digest
>> information again automatically so the login fails again.
> 
> Do you answer with a 401 status code when the login fail?

Yes, it is automatically sent by the component. 
However, after a little test with Firefox, and passing an invalid password,
I see an infinite loop. Firefox infinitely retries to login with the
wrong password. This repeats with the webserver demo easily.

--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html



-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to