[thelist] value attribute size limit?

Joshua Olson joshua at waetech.com
Fri Aug 29 22:06:47 CDT 2003


----- Original Message ----- 
From: "Tom Dell'Aringa" <pixelmech at yahoo.com>
Sent: Friday, August 29, 2003 6:56 PM


> Hi all,
>
> I'm wondering if anyone knows the limit (if there is one) to the
> amount of characters that can be placed in value attribute of a
> hidden input field.
>
> I'm working with a project that is dealing with lots of client side
> data, and it would make things easier for me if I could place a long
> string of data in that field and not have to worry about data loss. I
> could then split it up on the server side to get what I need.

Tom,

My experience has been that the practical limit of a post is 64k.  If you're
using 16 bits/character then this is 32,000 characters or so aggregate.  If
you're using 8 bits/character then this is 64,000 characters or so
aggregate.

This is of course easy to test... just make a couple textareas on a form,
fill up up, submit, and check the values on the server.

HTH, and good luck,

<><><><><><><><><><>
Joshua Olson
Web Application Engineer
WAE Tech Inc.
http://www.waetech.com
706.210.0168



More information about the thelist mailing list