I have successfully set a new proxy using InternetSetOption(IntPtr.Zero and i can navigate to a page. Once on the page i try to click a like and i get the proxy a Authorization window. i have set the Authorization header prior to going to the page. but after clicking any link i get the window. is there a way to insure thae Authorization header stays with the webbrowser control any help here would be great i am banging my head against the wall. also the proxy server is squid if that helps.
Thank you ahead of time for any help.
Proxy Authorization Webbrowser controlIProxy Authorization Webbrowser control
Page 1 of 1
1 Replies - 6005 Views - Last Post: 22 July 2008 - 12:53 AM
Replies To: Proxy Authorization Webbrowser control
#2
Re: Proxy Authorization Webbrowser control
Posted 22 July 2008 - 12:53 AM
scottietrek, on 22 Jul, 2008 - 12:41 AM, said:
I have successfully set a new proxy using InternetSetOption(IntPtr.Zero and i can navigate to a page. Once on the page i try to click a like and i get the proxy a Authorization window. i have set the Authorization header prior to going to the page. but after clicking any link i get the window. is there a way to insure thae Authorization header stays with the webbrowser control any help here would be great i am banging my head against the wall. also the proxy server is squid if that helps.
Thank you ahead of time for any help.
Thank you ahead of time for any help.
i am thinking it has something to do with the header it self here is what i am useing
Dim h As String Dim cc() As Byte Dim aa As String userinfo = "username" + ":" + "password" cc = System.Text.ASCIIEncoding.ASCII.GetBytes(userinfo) aa = Convert.ToBase64String(cc) Proxy-Authorization:Basic " + aa
** Edit **
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote



|