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!

Very long URL

Status
Not open for further replies.

ratnapokharel

Programmer
Dec 5, 2002
4
US
I have a form that has list of text items for customers to put number comments.
The comments could be more up to 5000 characters.
My URL is prepared with javascript
and then uses window.location to pass that URL to the server.

As soon as the URL length exceeds 2083 characters the page gives an syntax error. It fails.

How to I pass very long URL??
Any help will be highly appreciated.
 
You could use:
<form method=&quot;post&quot;>
Then, although you couldn't use JS (I don't think) to get the variables, any server side languages could retrieve them easily. It is better not to pass info that long over the location bar, anyway.

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top