error on requests - WeOnlyDo Discussion board

error on requests (General questions)

by Klinzter, Tuesday, March 03, 2009, 11:19 (5747 days ago)

hello.. why is it that most of the time I get this error

20009 Cannot change host information at this time.

im trying to request pages from different hosts using vb6 and wodHttpDLX OCX...

one page from host1 and if data is found connect to host2 if data is found connect to other page in host2 and in the 3rd request is when I get this error..

the first two are GET and the third one is a POST

wodHttp1.Get http://mysiteONE.com/page1.html

when request is done

wodHttp1.Get http://mysiteTWO.com/page5.html

when request is done

wodHttp1.Request.Body = id=2&name=test
wodHttp1.Post http://mysiteTWO.com/page10.html

I really dont know what the problem because I have wodHttp1.disconnect in the wodHttp1_Done

Re: error on requests

by woddrazen, Tuesday, March 03, 2009, 12:07 (5747 days ago) @ Klinzter

Hi Klinzter,


Did you try same in blocking mode? When Blocking Property is set to True.

If problem persist can you maybe show us your full code snippet so we can duplicate this on our side.

Let us know how it goes.


Regards,
Drazen

Re: error on requests

by Klinzter, Tuesday, March 03, 2009, 13:06 (5747 days ago) @ woddrazen

Yes I got it working.. thanks a lot for the help!