Edit: Now the question arises, how do I ask SAGAX to use POST instead of GET? I have tried some examples from Google but they are structured, and as I said, they do not work. I know, we are all crazy about jQuery around here.
I have tried and used the following code to get a limit for the amount of data that can be sent to the server through an AJAX call. We use Sajeks, obviously, in IE, about 1900 characters, do not get through the data and we get an error In Firefox, the range is close to 6100, but there are some variations on each call is. Is this browser-based?
Also tried to use POST instead of default and did not work at all asking Sajax to use POST.
What's the limit on the data defined in the AJAX stream size anywhere? How about the experience?
& lt;? Required ('sites / include / Sajax.inc.php'); Function str_length_test ($ str) {return strollon ($ str); } Sajax_init (); Sajax_export ('str_length_test'); Sajax_handle_client_request (); ? & Gt; & Lt; Html & gt; & Lt; Top & gt; & Lt; Title & gt; Multiplier & lt; / Title & gt; & Lt; Script & gt; By & lt;? Sajax_show_javascript (); ? & Gt; Function do_str_length_test_cb (PWD) {document.getElementById ('str_length'). Value = pwd; } Function do_str_length_test () {sample_field = document.getElementById ('sample'). Values; X_str_length_test (sample_field, do_str_length_test_cb); } & Lt; / Script & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; Textarea id = "sample" name = "sample" rows = 20 cols = 60 onblur = "do_str_length_test (); return false;" & Gt; & Lt; / Textarea & gt; Size: & lt; Input type = "text" id = "str_length" name = "str_length" value = "" size = 10> & Lt; / Body & gt; & Lt; / Html & gt;
GET is limited in IE 2083 characters View
View Discussion For the length of the URL for
Comments
Post a Comment