wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes GET request length limitation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "GET request length limitation" Watch "GET request length limitation" New topic
Author

GET request length limitation

Susan Smith
Ranch Hand

Joined: Oct 13, 2007
Posts: 224
Is GET request has length limitation?

I'm providing a HTTP url for our clients but they will eventually access the URL using automatic programs (so the GET request will not be sent via browser).

I read about this maximum URL in I.E.:
http://support.microsoft.com/default.aspx?scid=KB;en-us;q208427

But I'm not sure whether it's going to be the same everywhere for every browser and if someone access it using automatic program.

Thanks in advance for all the help.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41592
    
  55
I don't think this is standardized, so you should be conservative in what you assume to be possible. Why not use POST instead?


Ping & DNS - my free Android networking tools app
Susan Smith
Ranch Hand

Joined: Oct 13, 2007
Posts: 224
I found this article: http://classicasp.aspfaq.com/forms/what-is-the-limit-on-querystring/get/url-parameters.html.

I refer this article to my boss. It makes sense for me and him. Lucky me....

[ UD: fixed URL ]
[ September 30, 2008: Message edited by: Ulf Dittmer ]
Frank Zammetti
Ranch Hand

Joined: Dec 16, 2004
Posts: 136
This is a pretty good reference:

http://www.boutell.com/newfaq/misc/urllength.html

In short, anything over ~2000 characters *may* be a problem and you shouldn't count on it working.


-- <br />Frank W. Zammetti<br />Founder and Chief Software Architect<br />Omnytex Technologies<br /><a href="http://www.omnytex.com" target="_blank" rel="nofollow">http://www.omnytex.com</a><br />AIM/Yahoo: fzammetti<br />MSN: fzammetti@hotmail.com<br />Author of "Practical Ajax Projects With Java Technology"<br /> (2006, Apress, ISBN 1-59059-695-1)<br />and "JavaScript, DOM Scripting and Ajax Projects"<br /> (2007, Apress, ISBN 1-59059-816-4)<br />Java Web Parts - <a href="http://javawebparts.sourceforge.net" target="_blank" rel="nofollow">http://javawebparts.sourceforge.net</a><br /> Supplying the wheel, so you don't have to reinvent it!
Susan Smith
Ranch Hand

Joined: Oct 13, 2007
Posts: 224
Thanks for your help, guys.
 
Consider Paul's rocket mass heater.
 
subject: GET request length limitation