i have built a VB.Net console application to login to a website and this goes perfectly. Second step of the application is to perform submitting several webforms (some kind of Wizard you need to fill).
First step is this:
data = myWebClient.OpenRead("https://member.xxx.com/Action/Step1")
than upload some values:
Dim myNameValueCollection2 As New NameValueCollection()
myNameValueCollection2.Add("variable1", variable1)
myNameValueCollection2.Add("variable2", variable2)
myNameValueCollection2.Add("variable3", variable3)
Try
responsebytes = myWebClient.UploadValues("https://member.xxx.com/Action/Step2", "POST", myNameValueCollection2)
Catch
Console.WriteLine("Exception: " & ex2.Message)
End Try
This code works perfectly if i'm running Fiddler Web Debugger in the background, if i DON'T have it running
I get (after 1 minute wait or something):
Exception: The operation has timed out
How is it possible that Fiddler makes it work, but without Fiddler not? Does correct Fiddler something in the HTTP traffic i'm doing?? (maybe because i first login to the website?)
Hope anyone can give me a clue, have been searching whole day, but no idea where to start!
Thanks
First step is this:
data = myWebClient.OpenRead("https://member.xxx.com/Action/Step1")
than upload some values:
Dim myNameValueCollection2 As New NameValueCollection()
myNameValueCollection2.Add("variable1", variable1)
myNameValueCollection2.Add("variable2", variable2)
myNameValueCollection2.Add("variable3", variable3)
Try
responsebytes = myWebClient.UploadValues("https://member.xxx.com/Action/Step2", "POST", myNameValueCollection2)
Catch
Console.WriteLine("Exception: " & ex2.Message)
End Try
This code works perfectly if i'm running Fiddler Web Debugger in the background, if i DON'T have it running
I get (after 1 minute wait or something):
Exception: The operation has timed out
How is it possible that Fiddler makes it work, but without Fiddler not? Does correct Fiddler something in the HTTP traffic i'm doing?? (maybe because i first login to the website?)
Hope anyone can give me a clue, have been searching whole day, but no idea where to start!
Thanks