L
Lehel Kovach
I'm having a problem with the WebClient object. When I post data to certain
sites, it will receive a command from the webserver (object moved) and
continue to the next link by downloading that. The problem is, certain
cookies need to be set, and the only way of doing that is not letting the
WebClient automatically go on to the next GET in the background--I need to
do it manually.
I'm wondering if this has something to do with the Connection: Keep-Alive
header. If this is the case, how do I change it? Because, everytime I
tamper with this header, WebClient.UploadData doesn't work anymore.
sites, it will receive a command from the webserver (object moved) and
continue to the next link by downloading that. The problem is, certain
cookies need to be set, and the only way of doing that is not letting the
WebClient automatically go on to the next GET in the background--I need to
do it manually.
I'm wondering if this has something to do with the Connection: Keep-Alive
header. If this is the case, how do I change it? Because, everytime I
tamper with this header, WebClient.UploadData doesn't work anymore.