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

Re: [cgiapp] Re: $CGI::POST_MAX


* Mark Stosberg <suppressed> [2005-10-15 16:48:27+0000]
> On 2005-10-15, Bill Stephenson <suppressed> wrote:
> 
> > $CGI::DISABLE_UPLOADS = 1;
> > $CGI::POST_MAX=1024 * 100;  # max 100K posts
> >
> > if ($Q->cgi_error()) {
> > 	$message = $Q->cgi_error()."<p>CGI Error";
> > 	&error_trap($message);
> >     }
> >
> > Could someone please tell me how to implement this when using CA?
> 
> Setting the global variables can still be done in C::A. 

I seem to be running into the same problem here. The value of
$CGI::POST_MAX seems to be only affective when set before
$webapp->run(). Not a big problem there, yet $self->query->cgi_error()
doesn't seem to be set within the modules.

Not sure how and where to trap this cgi_error(), but it doesn't seem
to work within the runmodes.

Any clues?

-- 
B10m
   'Google is Evil'
   -rw-rw-rw-  1 satan demons  0 Jun 06 06:06 google

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.