Hi,
I have a problem with XHR size limit. I want to transmit text information for page to a PHP script which saves it in a MySQL database but the data are cut off. When I reload the page the changes I made are gone. Firebug produces the following message:
… Firebug request size limit has been reached by Firebug. …
this is my XHR function:
function makeXHR(recordData)
{
xmlhttp = createXHR();
var body = “q=” + encodeURIComponent(recordData);
xmlhttp.open(“POST”, “insertRowData.php”, true);
xmlhttp.setRequestHeader(“Content-Type”, “application/x-www-form-urlencoded”);
xmlhttp.setRequestHeader(“Content-length”, body.length);
xmlhttp.setRequestHeader(“Connection”, “close”);
xmlhttp.onreadystatechange = function()
{
if(xmlhttp.readyState == 4 && xmlhttp.status == 200)
{
alert(xmlhttp.responseText);
}
}
xmlhttp.send(body);
}
My question is: Is there a size limit in XHR POST requests? If yes how to disable it or is a browser issue?
regards.