Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Textarea - What is the maximum length allowed?? 1

Status
Not open for further replies.

kev510

Programmer
Jul 12, 2006
61
Hello.
I've searched ALL over the place for an answer, but no luck.

I'd like to use a textarea to input about 100,000 characters into my database. I was wondering what the textarea length limits are, for different types of browsers (IE5, IE6 most importantly). Please let me know. Thank you!
 
The Limit of characters you can submit is set not by the textarea itself but by the method used to send the information. If you use GET. each browser has a different character limit. And I'm sure its much less than 100,000 characters. But the POST method has no such limit. So Its safe to say you can send that amount of data using POST just fine.

----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
hello vacunita!
thanks for your response. The post/get definitely makes a difference, but IE6 does not seem to be saving the data correctly even when saving with POST method. I made sure that the data type in the table is TEXT (which has a limit of 2^31 characters). What could I be doing wrong? Please let me know. Thank you again!
 
oh, i got it! I was previously using GET method (which created a non-default URL, and I kept refreshing that URL made by GET method instead of restarting the IE after changing to POST method. Thanks so much vacunita! Your help was very valuable to me.
 
Glad to have helped.

----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top