|
Posted by Jim Higson on 04/05/06 12:00
Brad wrote:
> That's what's in the address bar:
> www.example.com?param1=val1¶m2=val2param3=val3.
>
> Isn't that called a request string or is it query string? Help?
I always called the "request string" the first line of the HTTP request, ie:
GET www.example.com?param1=val1¶m2=val2param3=val3
> Anyway, that thing. How long can it be?
There are no limits mandated by HTTP specs. By default Apache limits it to
8k; for it to be more you have to change compile-time arguments, but you
can lower the limit in normal config.
If you are trying to send a lot of data you need to use a POST, where the
size is virtually limitless (I think Apache 2 has an absolute limit of a
few gigs, but by default has a lower configured limit).
I have written javascript to do this using XmlHttp request for this project:
http://wikiwyg.org (use Firefox) which is GPL-licenced, so feel free to
gawk at the code. It sends a url-encoded POST, so the parameters are not on
the first line of the request.
> "Jim Moe" <jmm-list.AXSPAMGN@sohnen-moe.com> wrote in message
> news:R62dncJ3M54qXazZnZ2dnUVZ_u2dnZ2d@giganews.com...
>> Brad wrote:
>>>
>>> Is there a limitation to the length of a request string? If so, what is
>>> it?
>>>
>> What is a "request string?"
>>
>> --
>> jmm (hyphen) list (at) sohnen-moe (dot) com
>> (Remove .AXSPAMGN for email)
[Back to original message]
|