Switch to the original POST data and use JSON or XML to save and send large structures through the request.
If you use jQuery, for example, you have
jQuery.post( url, [data], [callback], [type] )
where the data can be xmlDoc, jsonObj, html, text, etc.
instead of data, you could have something like:
$.post("path/to/my/file.php", { func: "yourFunctionName" }, function(data_returned_from_backend_json){
source: http://docs.jquery.com/Post
source share