Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Proxy authentication

$
0
0
Proxy authentication
West Wind Client Tools
Proxy authentication
02/06/2012
06:10:05 AM
3FD0D8049 Show this entire thread in new window
Gratar Image based on email address
From:
To:
All 
Attachments:
None
I have a client that i need Proxy authentication for HTTP. Every time they start the browser the have to sign in. The following is an example i have been using. Please explain or point me to some examples on what I need to do to get proxy authentication to work.


Thanks

** Create the West Wind Internet Protocol. oHTTP = CREATEOBJECT("wwHTTP") *** Set mode to multi-part form - Required for file uploads. oHTTP.nHttpPostMode = 2 *** Connection timeout for Connection, Send and Read operations *** if any take longer than the number of seconds here operation will abort *** Default is 30 oHTTP.nconnecttimeout = 900 lnResult = oHTTP.httpconnect(tcServer, + ; IIF(EMPTY(tcUserName_MITS), tcUserName, tcUserName_MITS), + ; IIF(EMPTY(tcPassWord_MITS), tcPassword, tcPassWord_MITS), .T.) && Connect to the server. *** Setup post. oHttp.AddPostKey("username", tcUserName) oHttp.AddPostKey("password", tcPassword) oHttp.AddPostKey("userfile", tcFile, .T.) oHttp.AddPostKey("webexport", tcFile1) oHttp.AddPostKey("ratefile", tcFile2) *** Send the POST data - Send a file. lnResult = oHTTP.HTTPGetEx(tcWebServerLink, @lcHTML, @lnSize)


Viewing all articles
Browse latest Browse all 10393

Trending Articles