faqts : Computers : Programming : Languages : PHP : Not Quite PHP : Browsers

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

444 of 504 people (88%) answered Yes
Recently 7 of 10 people (70%) answered Yes

Entry

What is the maximum length of a URL string?
What is the longest URL that Apache can handle?
Is there a maximum number of GET arguments that can be used?

Aug 26th, 2001 11:25
Keegan Miller, Nathan Wallace, Onno Benschop, Chad Cunningham, Sander Pilon, Keegan Miller


There is theoretically no limit. The HTTP spec doesn't specify, so it
will vary from server to server (possibly browser to browser as well).
Someone reported a while ago that apache could handle something like up
to 8k...
Well, I *think* there was a 256 character limit on some browser. (Read
that in some HTML book :)
Could've been lifted by now, but if it's more then 256 characters you're
better off with cookies or POSTing the data anyway.
------------------------------------------------------------------------
IE has a limit of 2083 characters.  See 
http://support.microsoft.com/support/kb/articles/Q208/4/27.asp .