Ive used the attached code for pre mx cfhttp calls through proxys. I only needed to grab the html text content so it depends on your needs.

hth
Rod

----- Original Message ----- From: "Stephen G. Muller" <[EMAIL PROTECTED]>
To: "CFAussie Mailing List" <[email protected]>
Sent: Friday, September 02, 2005 2:03 PM
Subject: [cfaussie] CFHTTP on CF5


How do you pass a username and password to a proxy server in CFHTTP in
version 5?

The username and password attributes seem to only pass to the server, not
the proxy.  CF6 adds a proxyusername attribute, so I suppose this means
you can't do it in CF5.

We've solved the same problem using ASP where we used 2 separate
HTTP.SetCredentials statement likes this, with the 1 for the proxy and the
0 for the server.

Http.SetCredentials "username","password",1
Http.SetCredentials "username","password",0


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Attachment: HTTP.class
Description: Binary data

Attachment: HTTP.java
Description: Binary data

Attachment: cfx_http_test.cfm
Description: Binary data

---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to