sending multidimensional object -> last part is lost
<p>I'm sending a multidimensional object with an ajax post request but some times the last part of the object is lost? Is there some kind of limit to how much data you can send?</p>

<h2>--------</h2>

<h2>update</h2>

<p>when counting the childs in <code>data.accounts</code> before the ajax post the number is 221, and when counting the <code>data.accounts</code> in the success handler the number is still 221</p>

<h2>The data being sent is at the most 10kb</h2>

<hr>

<p>When I do this right before the object is sent with ajax, all data is represented</p>

<pre><code>var arr = [];
for(var key in obj){
    arr[arr.length] = key+' = '+obj[key];
}

alert(arr.join('\n'));
</code></pre>

<p>But when doing this on the backend the last part of the data is lost</p>

<pre><code>print_r($data);
</code></pre>

<p>data structure (there are over 200 childs in <code>data.accounts</code> but only 198 are recieved)</p>

<pre><code>    Array
    (
        [account_id_] =&gt; 0
        [name] =&gt; 1
        [type] =&gt; 2
        [type_pl] =&gt; Drift
        [type_b] =&gt; Status
        [type_p] =&gt; 
        [type_h] =&gt; Tekst
        [type_t] =&gt; Sum
        [att_sumfrom] =&gt; 4
        [vatcode] =&gt; 3
        [accounts] =&gt; Array
            (
                [0] =&gt; Array
                    (
                        [account_id_] =&gt; 1
                        [name] =&gt; OMS�TNING
                        [type] =&gt; 3
                        [att_sumfrom] =&gt; 
                        [vatcode] =&gt; 
                    )

                [1] =&gt; Array
                    (
                        [account_id_] =&gt; 1000
                        [name] =&gt; Varesalg
                        [type] =&gt; 0
                        [att_sumfrom] =&gt; 
                        [vatcode] =&gt; S25
                    )

                [2] =&gt; Array
                    (
                        [account_id_] =&gt; 1200
                        [name] =&gt; Udf�rt arbejde
                        [type] =&gt; 0
                        [att_sumfrom] =&gt; 
                        [vatcode] =&gt; S25
                    )
.......
</code></pre>

<p>Sending the data</p>

<pre><code>this.send = function(){
    var jqxhr = $.ajax({
            url : this.url,
            data : this.data,
            timeout : this.no_timeout ? 0:this.timeout,
            cache : this.cache,
            dataType : this.dataType,
            type : this.type,
            global : this.global
        })
</code></pre>
