title: HTTP error on adding large data using jquery ajax
body: <p>I have created a good html/javascript program in displaying ajax in my jqgrid. But just recently, I noticed that when I try to save large or many data to save to my table line, it will return <code>http:error</code>.</p>
  
  <p>I really don't understand whats wrong when I can successfully saved small numbers of lines. Someone told me that it was my html/javascript that has a problem since when I try to trace it with delphi(the one I used to create my webservice), it doesn't go into my code (when saving many lines), and will go into my code if only less than 10 line data that i will save (there's no error in tracing). Here's a data that I am sending to my webservice/html request:</p>
  
  <pre><code>{
  "SessionID":"66KuzRH1w1sWCM188q4k8BTJb5ijG81v",
  "operation":"add",
  "transaction_date":"7/27/2011",
  "supplier_id":"10000000108",
  "wood_specie_id":"1",
  "lines":[
       {"plank_number":"1","thickness":"4","width":"6","length_t":"8","quantity":"1","board_foot":"16.00","wood_classification_id":"1","price":"15"},
       {"plank_number":"2","thickness":"45","width":"6","length_t":"8","quantity":"1","board_foot":"180.00","wood_classification_id":"1","price":"15"},
  
       .
       .
       .
       .
       {"plank_number":"22","thickness":"3","width":"6","length_t":"8","quantity":"1","board_foot":"12.00","wood_classification_id":"1","price":"15"},
       {"plank_number":"23","thickness":"4","width":"6","length_t":"7","quantity":"1","board_foot":"14.00","wood_classification_id":"1","price":"15"}
     ],
  "scaled_by":"JAYSON","tallied_by":"TALLIED BY","checked_by":"CKECKED BY","total_bdft":"582.84","final":""
  }
  </code></pre>
  
  <p>here's the code in adding my line data:</p>
  
  <pre><code>function tallyAddData(){
    var datas = {
      "SessionID": $.cookie("SessionID"),
      "operation": "add",       
      //"transaction_num":$('#tallyNo').val(),
      "transaction_date":$('#tallyDate').val(),
      "supplier_id":$('#supplierInput').attr("name"),
      "wood_specie_id":$('#woodSpecie').attr("name"),   
      "lines":plank_data,
      "scaled_by":$('#tallyScaled').val().toUpperCase(),
      "tallied_by":$('#tallyTallied').val().toUpperCase(),
      "checked_by":$('#tallyChecked').val().toUpperCase(),
      "total_bdft":$('#tallyTotal').val(),
      "final":"",
    };
    alert(JSON.stringify(datas));  
    $.ajax({
      type: 'GET',
      url: 'processjson.php?' + $.param({path:'update/tallyHdr',json:JSON.stringify(datas)}),
      dataType: primeSettings.ajaxDataType,
      success: function(data) {
        if ('error' in data)
        {
          showMessage('ERROR: ' + data["error"]["msg"]);
        }
        else{
          $('#tblTallyHdr').trigger('reloadGrid'); 
        }
      }
    });
  }  
  </code></pre>