tags:

views:

163

answers:

1

in other words:

<input type="hidden" value="Can I put as much as I want in here, or is there a limit?" />

and if so, what is it?

+4  A: 

It depends on the method you send the form with.

With GET, there is a commonly agreed on limit of 1024 characters, however I do not know the official specification for this. I have experienced it with both IIS and Apache.

With POST, as far as I know there is no technical limit in the browser, but usually one on the server side (max_post_size).

Maybe somebody who knows their RFCs will clarify :)

Pekka