Problem with webclient uploadvalues on SOME computers

  • Thread starter Thread starter jaffar.kazi
  • Start date Start date
J

jaffar.kazi

Hi All,
I have a .NET Winforms application that regularly posts to a PHP page.
Till a few days back this worked perfectly. However, now, on certain
machines, after the data is sent to the server, the server reports
that no data is present. The code still works on my development
machine.
All the machines I'm using are Windows XP SP2 machines. Using .NET
Framework 1.1.

The mechanism I'm using is webclient.UploadValues.
From a post I read, I enabled the PHP script to use UTF-8 (from
php.ini)

On the same line, I've added code to send the content headers as
below:

webClient.Headers.Add("Content-Type", "application/x-www-form-
urlencoded");
webClient.Headers.Add("CharSet", "UTF-8");

also, but to no avail.

What could be the problem? I would really appreciate a solution to
this problem as it is driving me nuts!

Thanks in advance,
Regards,
--Jaffar
 
Jaffar,

Do you have any access to the machines that the program is running from?
Can you install a network traffic sniffer on the machine and see what your
program is doing?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top