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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

a problem passing control characters in query string

Status
Not open for further replies.

JoeyLemor

Technical User
Jun 18, 2002
20
PH
whenever I write something inside a <textarea> form element, after i press &quot;enter&quot; in the keyboard, the characters in the next line are not passed on to the querystring. I've tried both &quot;<form method=post>&quot; and &quot;<form method=get&quot;> but it doesn't show up either way.

Is the query string that is passed supposed to also show the control characters (i.e &quot;carriage return&quot; and &quot;line feed&quot;) and the characters after that? If so, how?


Thanks :)

----------------
I have improvised by inserting &quot;<BR>&quot; inside the &quot;<textarea> element&quot; in order to show the next line. But the form that i've used to post this message doesn't need that (i.e. i just press enter).
 
Don't you have a problem of URL lenght ?
I explain : I also had the same type of problems on an intranet in wich the user could enter no less than 4 textareas. Each of them could contain 2000 char. When passing to another page, the URL wich was created by concatening all the fields was always cut. The approximate maximum size of an url is 4096 char. Is your URL taller ?
If so, the way I found to override is to use cookies as a cookie is limited to 32000char. Water is not bad as long as it stays out human body ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top