POST from Browser sends incomplete data to server...

G

Guest

Using IE 6 or IE 7, a web page sends a POST to our server with 150 to 300
characters of data. The server, however, is not receiving all of the data
all of the time. As an example, I can request a report from within the
browser 5 times (making no changes to the data in the request) and 2 of the 5
times the parameters received are complete. 3 times, they are truncated and
the report fails to run. I might get the correct data once and not again
until 10 times later.

If I use other browser such as Firefox or Safari, the results are
consistently correct using the exact same parameters.

Is there a setting in IE that is causing the data sent to the server to be
arbitrarily incomplete?
 
R

Rob ^_^

Hi Picies,

Are you using a scripted or no-scripted Post?
For testing purposes change your Post to a get to examine the query
parameters in the address bar or if you are using a scripted post add an
alert statement in the script to examine the parameters.
Known issues with IE Form requests....
Malformed <form> tags.... always include the </form> tag.
Submit button/image is not the last field within the <form> tags or it is
placed outside the </form> tag.

Sample code would be helpful.

Regards.
 
G

Guest

Thanks for the comments. I tweaked the code to see if I could alter the
parameter truncation. It didn't seem to make any change.

The request to the server from the client side is created by an application.
I ran the form through an HTML validator and it shows no errors. The
<form></form> tags are correct and the placement of the submit is between the
tags. I am capturing the parameters before submitting them to the
application and they are truncating in the middle of a field part of the time
and other times the string is complete. It appears to be totally arbitrary.
 
R

Rob ^_^

Hi Picies,
Any fields using the maxlength attribute? Try escaping the input fields
before submitting them. eg.

sURL += "&txtInput=" + escape(txtInput.value)

regards.
 

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

Top