Just for completeness:

Microsoft Internet Explorer has a maximum uniform resource locator (URL) length of 2,083 characters. Internet Explorer also has a maximum path length of 2,048 characters. This limit applies to both POST request and GET request URLs. 

If you are using the GET method, you are limited to a maximum of 2,048 characters, minus the number of characters in the actual path.

However, the POST method is not limited by the size of the URL for submitting name/value pairs. These pairs are transferred in the header and not in the URL. 

Deco
On Nov 1, 2006, at 10:00 AM, Michael Peters wrote:




BeeRich wrote:

Using ajax.updater, I want to submit a form which has 2 items in it.
One is a radio button, straight forward.  The other is a textarea that
could be quite large.  I want to park it into the url portion, but that
would mean the url could supercede the safe length of a url for
submission to my back door file that actually receives the parameters.

GET has a limit on the data it can send, but a POST does not.

Ajax.Updater(
  { success: 'my_div' },
  '/backdoor.cgi',
  {
    method: 'post',
    parameters: Form.serialize($('my_form'))
  }
);

-- 
Michael Peters
Developer
Plus Three, LP



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs
-~----------~----~----~----~------~----~------~--~---

Reply via email to