kmahmood
asked on
Is there a restriction on the size of a URL/Query string?
Hi,
I have come across web servers that truncate the query parameters present in the url (e.g. http://mypage.com/myPage.jsp?arg1=23&arg2=45) if the whole string exceeds a size limit?
Is there any such limit in HTTP protocol, if yes what is the limit and where is it defined? Has anybody experienced such stuff? Is it a browser problem, if yes, do IE and NN both do that?
I would really appreciate a quick response.
Thanks,
KM
I have come across web servers that truncate the query parameters present in the url (e.g. http://mypage.com/myPage.jsp?arg1=23&arg2=45) if the whole string exceeds a size limit?
Is there any such limit in HTTP protocol, if yes what is the limit and where is it defined? Has anybody experienced such stuff? Is it a browser problem, if yes, do IE and NN both do that?
I would really appreciate a quick response.
Thanks,
KM
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
DOH, your right... Thanks Gordon.
The HTTP protocol itself doesn't restrict the limit the size of the query string. Its the browsers that do. IE limits it to essentially 3k, where with Netscape I havn't been able to find any information on what the limit is.
Hello,
This question has been open for quite a while now and needs to be wrapped up.
Please do NOT accept this comment as an answer, as I am simply trying to alert those involved that the
question is still open.
If any of the experts could come back and post any suggestions as to how they feel this could be wrapped
up (delete, 0 PAQ, award points, etc), I'm sure the moderators would appreciate it.
Thank you,
BRUNO
This question has been open for quite a while now and needs to be wrapped up.
Please do NOT accept this comment as an answer, as I am simply trying to alert those involved that the
question is still open.
If any of the experts could come back and post any suggestions as to how they feel this could be wrapped
up (delete, 0 PAQ, award points, etc), I'm sure the moderators would appreciate it.
Thank you,
BRUNO
I vote for a delete. There really isn't any information worth a 0 PAQ. Either that or split the points between gordon and mgfranz
I do not recommend passing anything more that 254 characters in the URL string, more than that can cause a bind on the server. If you have to, use Sessions, Cookies, or hidden field parameters instead.
IE is a little more forgiving than NN, (not sure about NN6 though).