Hi folks, I'm trying to work with XMLhttprequest and Rev cgi and am encountering a problem : the response from the cgi script is truncated on the browser client side when its length > 50 Kb...
I know that my code is 100% correct (both on server and client sides) since everything works fine as long as the xml code generated by the cgi < 50 Kb... What I'm trying to do is to generate a complex TABLE object from elements of a DB with the cgi and put it inside a DIV in my webpage. Again this works when the size of data downloaded < 50 Kb. I'm using a POST request with XMLhttprequest, but the truncation happens only in the output, so it has nothing to do with any limitation of the POST parameters (besides I've check my cgi scrpt and all request data are received OK). I've also tried to set Content-Length to the size of my data in the cgi script, but to no effect : the xml data is still truncated and I get an error message about missing tags. Hours of google searches brought several posts on various forums by ppl who seemed to face the same problem and asked about it, but none seemed able to give an adequate answer... Some ppl mention that problems appear only with FF which seems to chop every string longer than 4Kb in successive childnodes of 4 Kb... But my problem appears with FF and IE as well... And of course I haven't found this problem documented anywhere in FF or IE docs... So, if anyone on this list has already worked with XMLhttprequest and large amount of xml data, please let me know if you encountered the same problem and how you solved it... Thanks in advance, JB _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
