WebClient.UploadData

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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.


.



Relevant Pages

  • WebClient UploadData
    ... I'm having a problem with the WebClient object. ... it will receive a command from the webserver and ... tamper with this header, WebClient.UploadData doesn't work anymore. ...
    (microsoft.public.dotnet.csharp.general)
  • Automatic Emails...
    ... I have asked a question in another thread about getting a command to ... run during reboot on my webserver. ... header of an email however. ...
    (linux.redhat)