> [EMAIL PROTECTED] wrote:
> > 
> > Hello,
> > 
> > I'm working with Jserv 1.1.2 on Apache 1.3.12 on Red Hat 6.2.
> > Occasionally, when I POST a large number of parameters ( ~100 fields) from
> > an HTML form to a servlet, the last few parameters seem to be corrupted
> > somehow - I get binary characters and other junk when I do a
> > request.getParameter(x). ( I know getParameter() is deprecated, but surely
> > it should *work* ?).
> > 
> > If anyone is willing to help, I can provide sample servlets that
> > illustrate this problem. Works fine with a Perl CGI script, though...

Be aware that many web servers, Apache included, have a default size limit
to the POST input stream.  This is to prevent denial-of-service attacks
where someone opens a post query and then delivers 3 gigs of crap to the
server in hopes of filling its disk and/or ram and crashing the host.

You may be passing the POST input limit and getting garbage in your
variables instead of the data you thought you sent.

Investigate your apache's config files, I think there's something in there
that you can use to expand the POST input limit.  Or you may have to
rebuild apache to up the limit at compile time.

The POST limit is large, but it's not infinite.

-- 
Joi Ellis                    Software Engineer
Aravox Technologies          [EMAIL PROTECTED], [EMAIL PROTECTED]

No matter what we think of Linux versus FreeBSD, etc., the one thing I
really like about Linux is that it has Microsoft worried.  Anything
that kicks a monopoly in the pants has got to be good for something.
           - Chris Johnson


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to