It would depend on where the dialog originated from. In some cases where the
server requires the client to provide authentication, it sends back a header
like this:

WWW-Authenticate: Basic realm="My Realm"
"HTTP/1.0 401 Unauthorized"

Typically this is used to authenticate access to a restricted part of a web
site on an HTTP server.

Most web browsers recognise this by popping up a dialog box asking for your
username and password. The browser then re-requests the same page passing
back the information from the dialog.

I don't know how proxy servers request authentication, whether they do it by
sending HTTP headers or what. If you are using an HTTP component to connect
then I would have assumed you could see the headers it sends back.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of C Fraser
> Sent: Monday, 10 September 2001 10:19
> To: Multiple recipients of list delphi
> Subject: [DUG]: URL Link Checker
>
>
> Hi all,
>
> I am trying to create a basic URL link checker... I have had some
> limited success...
>
> I can test the links on files in house and I would assume it would work
> if I was connected via dialup. But we use a proxy server to access the
> internet in the outside world. The proxy server requires me to logon.
>
> In FrontPage when I check the links (if I haven't logged onto the proxy
> yet) it pops up an error and then a logon dialog box.
>
> I can't find out how to do this in Delphi... I have tried a few of the
> internet API functions and done a scan on MSDN but haven't come up with
> anything...
>
> Just wondering if anyone has done this before or knows where I should
> head.
>
> Regards
> Colin
>
>
> ######################################################################
> Attention:
> The information in this email and in any attachments is confidential.
> If you are not the intended recipient then please do not distribute,
> copy or use this information. Please notify us immediately by return
> email and then delete the message from your computer.
> Any views or opinions presented are solely those of the author.
> ######################################################################
> ------------------------------------------------------------------
> ---------
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
> Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
>

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to