Hello List,
I've got a problem sending data back to the server via rpc functionality.
The associative array I try to handle has at least 160 keys and values.
Before sending to the server I convert it into json using the
qx.util.Json.stringify - method.
Performing the request brings up the "414 Request-URI Too Large. The
requested URL's length exceeds the capacity
limit for this server." - Error. So the reason for the resulting timeout
is quite clear, but I did not know how to solve the problem.
Working with smaller arrays works fine. Backend is php.
Any ideas or workarounds to handle the issue?
Thanking you in anticipation,
Dennis
---
Here's my example code (works fine for small arrays):
_setParameterArray: function( log_serial, export_array ) {
var json_array = qx.util.Json.stringify( export_array );
var rpc = new paramrpc.rpc.BasicRpc();
var that = this;
var isRunning = rpc.callAsync(
function( result, ex, id )
{
if (ex == null) {
that.debug( "_setParameterArray - Result: " + result );
} else {
alert( "setParameterArray: Async( " + id + " )
exception: " + ex );
}
},
"setParameterArray", log_serial, json_array );
}, // setParameterArray
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel