Explictly echoing Gunther, don't go there!

Use cookies, think crumbs of info, as flyweights.  Significant chunks of data need
to be passed and stored
in other ways.

Ed

Gunther Birznieks wrote:

> Caveat: even if you modify apache to do larger cookies, it's possible that
> there will be a set of browsers that won't support it.
>
> At 04:48 PM 10/20/00 -0700, ___cliff rayman___ wrote:
> >i'm not an expert with this, but, a quick grep for your error in
> >the apache source (mine is still 1.3.9 ) and some digging yield:
> >
> >./include/httpd.h:#define DEFAULT_LIMIT_REQUEST_FIELDSIZE 8190
> >
> >so you're right, 8K is currently the apache limit. if you try to change
> >this value in
> >the source code, you will probably also have to muck with IOBUFSIZE and
> >possibly other things as well.  IOBUFSIZE is 8192 and the
> >DEFAULT_LIMIT_REQUEST_FIELDSIZE is set to 2 bytes below that to make
> >room for the extra \r\n after the last header.
> >
> >looks like you'll have to take responsibility for mucking with the apache
> >source, or
> >sending smaller cookies and using some other techniques such as HIDDEN fields.
> >
> >
> >--
> >___cliff [EMAIL PROTECTED]http://www.genwax.com/
> >
> >"Biggs, Jody" wrote:
> >
> > > I'm having trouble when a browser sends a fair sized amount of data to
> > > Apache as cookies - say around 8k.
> > >
> >
> > > Apache then complains (and fails the request) with
> > > a message of the sort:
> >
> > > [date]  [error] [client 1.2.3.4] request failed: error reading the headers
> >
> > > I assume this is due to a compile time directive to Apache specifying the
> > > maximum size of a header line.
> > >
>
> __________________________________________________
> Gunther Birznieks ([EMAIL PROTECTED])
> eXtropia - The Web Technology Company
> http://www.extropia.com/

Reply via email to