Mike Kear wrote:

> How true is the following statement? :
>
> [quote]
>
> If you use a _javascript_ form submit button, you have to make sure your
> form variables dont get too large because the _javascript_ function
> passes the input to the action page using the GET method, and the
> total length of a URL and all the URL Variables is limited.   If you
> have a very large amount of form input, you had better use HTML submit
> buttons and the POST method
>
> [/quote]
>
> Is this true?

Its only half true.

Yes with GET type form submission you do need to ensure that the number
of variables and their values does not exceed the maximum length for a
URL (128 characters I think.......  don't quote me)

_javascript_ submission of pages need not be a GET submission.  It can
also be a POST method. This is determined by the FORM tag and not the
way that it is submitted.

>  Its brought about by an application I'm working on
> where we might have a hidden form field with as many as 40,000 userIDs
> passed to the action page in a comma delimited list.

Ummm... eek!  Would it not be better to provide a single reference to
something the DB that allows you to pick out those IDs rather than
passing them around on a page?

Stephen
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to