• Post Reply Bookmark Topic Watch Topic
  • New Topic

how many character can it take when using "doGet" (METHOD= GET)

 
Ian Yang
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,
as we know, if we use "doGet" method the query string will be seen on the URL as "?something=blabla&query=blabla..".
I think there is a limit on the number of characters that can be appended. What's that limit ? 1500, 2000, or what ?
If it is server dependent, the server I use is apache web server plus JRun.
Thanks,
Ian Yang
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I did a bit of a search on this a while back, and the problem is that theoretically there is no limit, but actually it depends on the clients browser, any proxies, the web server, the app server etc etc.
A safe number we pull out of no where in particular is 1024 characters. I think the lowest limit we found was around the 5000 char limit.
It used to be an isuue that extremely long URLs could crash IIS (10k or so) but that was several versions of IIS ago, shouldn't be any worries now.
Oh, and the HTTP spec doesn't specify a limit on the length of the URL.
Dave
 
Sals Hamid
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using Get I think we only send 250 characters to server side at a time
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!