English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

in javascript how many paramters can pass in URL by get method?

2007-03-12 22:50:52 · 3 answers · asked by suddu 1 in Computers & Internet Programming & Design

3 answers

it's not enough!

a get url contains all the parameter names and the values.

let's count chars
for each parameter is
{ 1 (for the ? or &)
the length of the parameter + 1 (for the =) + length of the value
}

the max length is finite, perhaps 256 or 2048 chars (not important)

with just a few fields and 1 textarea, you're too big!

that's one reason most people prefer POST method.


http://www.faqts.com/knowledge_base/view.phtml/aid/329

2007-03-13 06:47:53 · answer #1 · answered by jake cigar™ is retired 7 · 0 0

you mean to say httpGet, just check the declaration of httpGet

2007-03-13 06:10:40 · answer #2 · answered by Anonymous · 0 1

i dont think it is limited !

2007-03-13 05:55:13 · answer #3 · answered by abd 5 · 0 1

fedest.com, questions and answers