The password field is blank in OnAuthGetPassword. I do not change the
'Password'. It is #0.
You should probably change Password to the empty string. #0 is /not/ the
empty string. This has been designed so that you can use an empty password
which is different than not changing Password var parameter !
btw: When you have this kind of problem, I suggest you use Delphi debugger
to see what happend when you return from the event handler. Just be sure to
add VC32 in the search path so that Delphi find the component source and is
able to single step in it.
--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be
----- Original Message -----
From: "zayin" <za...@pdq.net>
To: <twsocket@elists.org>
Cc: <francois.pie...@overbyte.be>
Sent: Sunday, June 05, 2011 5:51 PM
Subject: [twsocket] HttpServer and password...
Hello,
HttpServer version 7.29.
I set the server to: HttpServer.AuthTypes:=[atBasic,atDigest]
The user tries to logon and enters his name. For this user he does not
have
a password and that is OK with me. The browser is using digest mode.
The password field is blank in OnAuthGetPassword. I do not change the
'Password'. It is #0.
But the logon fails.
OnAuthResult has false in success.
What am I doing wrong? Must the user have a password?
Thanks,
Mark
--
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
--
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