[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Mac Perl CGI Limitation?



At 2:10 PM -0500 2/10/1999, Chris Nandor wrote:
>At 13.53 -0500 1999.02.10, Ronald J. Kimball wrote:
>>Thierry Leveque wrote:
>>>
>>> I have a very big problem:
>>> My CGI script seems to accept only the first 980 characters in the
>>> "QUERY_STRING".
>>>
>>> I have a large form and I can't get all the data from it!
>>> Is it an Apple event limitaion? (I'm using Mac OS 8.1) I have already
>>>done a
>>> larger form with Lasso and Filemaker. Is Lasso using Apple event too?
>>>
>>> What's happening?
>>>
>>
>>Beats me.  Have you tried using POST instead of GET?
>
>GET does have a limitation.  But GET's limitation is 4K, which after header
>stuff, usually ends up being about 3900-3990 bytes.  980 is well within
>GET's limitations.  Apple Events can be limited, but in Mac OS 8.5 usually
>aren't, and when they are it is around a 32K limit, which is also much more
>than 980.

When working on ISAPI extensions for IIS last year, I think I recall coming
across this and seeing one book say that some clients and/or servers limit
the length of GET headers to 1024 characters.  That led us to go with
cookies instead, as they're generally limited to about 4K.

Then again, I might just be confusing the two. ;)

-Eric

--
Eric Albert                     ejalbert@cs.stanford.edu
http://www.stanford.edu/~ejalbert/

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch