RE: CGI.pm params not being cleared?

2001-10-03 Thread Geoffrey Young
-Original Message- From: Ken Williams [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 02, 2001 6:24 PM To: Geoffrey Young; 'Perrin Harkins ' Cc: '[EMAIL PROTECTED] ' Subject: RE: CGI.pm params not being cleared? Hi all, It doesn't much matter whether you're using stacked

RE: CGI.pm params not being cleared?

2001-10-02 Thread Alex Harper
? Alex -- Alex Harper Configuration Management [EMAIL PROTECTED] Use whatever you think of first -- Larry Wall -Original Message- From: Perrin Harkins [mailto:[EMAIL PROTECTED]] Sent: Monday, October 01, 2001 11:43 PM To: Alex Harper Cc: [EMAIL PROTECTED] Subject: Re: CGI.pm params

RE: CGI.pm params not being cleared?

2001-10-02 Thread Ken Williams
: Daniel; [EMAIL PROTECTED] Sent: 10/1/01 11:35 PM Subject: Re: CGI.pm params not being cleared? Alex Harper wrote: Aha! That's where the problem lies. I had recently added: PerlCleanupHandler +Apache::Sizelimit to my httpd.conf. I placed it there so the sizelimit would be enforced

Re: CGI.pm params not being cleared?

2001-10-02 Thread Perrin Harkins
It doesn't much matter whether you're using stacked handlers or not, or pushing vs. replacing, because the $r-child_terminate method seems to simply call the C exit(0) function under certain conditions (Win32, old version of apache, anything else?). Not much chance of any further action if

CGI.pm params not being cleared?

2001-10-01 Thread Alex Harper
I'm sure this is a FAQ somewhere, but I'm not finding it... In our switch to mod_perl we're seeing two problems with CGI.pm (version 2.752). I'm uncertain if they are related or not. 1. Across multiple requests to a single script, the params are not cleared. The first params sent to that script

Re: CGI.pm params not being cleared?

2001-10-01 Thread Ken Y. Clark
On Mon, 1 Oct 2001, Alex Harper wrote: Date: Mon, 1 Oct 2001 16:16:34 -0500 From: Alex Harper [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: CGI.pm params not being cleared? I'm sure this is a FAQ somewhere, but I'm not finding it... In our switch to mod_perl we're seeing two problems

RE: CGI.pm params not being cleared?

2001-10-01 Thread Alex Harper
think of first -- Larry Wall -Original Message- From: Ken Y. Clark [mailto:[EMAIL PROTECTED]] Sent: Monday, October 01, 2001 4:25 PM To: Alex Harper Cc: [EMAIL PROTECTED] Subject: Re: CGI.pm params not being cleared? On Mon, 1 Oct 2001, Alex Harper wrote: Date: Mon, 1 Oct

Re: CGI.pm params not being cleared?

2001-10-01 Thread Daniel
Make sure you're not doing: use CGI; my $cgi = new CGI; if ($cgi-param(dataaction) eq whatever) { do_whatever_without_passing_cgi(); } elsif ($cgi-param(dataaction) eq passcgi) { pass_it_cgi($cgi); } sub do_whatever_without_passing_cgi { #using original copy of

RE: CGI.pm params not being cleared?

2001-10-01 Thread Alex Harper
Thanks, I looked and we're not. Here's the simplest case: use CGI; my $cgi = new CGI; my @params = $cgi-Vars(); print $cgi-header(-type = 'text/html'); print $cgi-start_html(); print Process: $$BR\n; print Query String:BR\n; print $ENV{QUERY_STRING} . BR\n; print Params:BR\n; print

Re: CGI.pm params not being cleared?

2001-10-01 Thread Daniel
Odd, checking into my version CGI.pm (which I dont use), it cleans up it's own globals by installing a cleanup handler: Apache-request-register_cleanup(\CGI::_reset_globals); so either your version of CGI.pm is broken or your mod_perl was somehow compiled without PERL_CLEANUP. Alex Harper

RE: CGI.pm params not being cleared?

2001-10-01 Thread Alex Harper
, October 01, 2001 6:35 PM To: Alex Harper; [EMAIL PROTECTED] Subject: Re: CGI.pm params not being cleared? Odd, checking into my version CGI.pm (which I dont use), it cleans up it's own globals by installing a cleanup handler: Apache-request-register_cleanup(\CGI::_reset_globals); so

Re: CGI.pm params not being cleared?

2001-10-01 Thread Perrin Harkins
Alex Harper wrote: Aha! That's where the problem lies. I had recently added: PerlCleanupHandler +Apache::Sizelimit to my httpd.conf. I placed it there so the sizelimit would be enforced post-request. Removing the line fixed my problem. Whoa! This could be bad. Apache::SizeLimit

RE: CGI.pm params not being cleared?

2001-10-01 Thread Geoffrey Young
-Original Message- From: Perrin Harkins To: Alex Harper Cc: Daniel; [EMAIL PROTECTED] Sent: 10/1/01 11:35 PM Subject: Re: CGI.pm params not being cleared? Alex Harper wrote: Aha! That's where the problem lies. I had recently added: PerlCleanupHandler +Apache::Sizelimit

Re: CGI.pm params not being cleared?

2001-10-01 Thread Daniel
Did you compile mod_perl with PERL_STACKED_HANDLERS? Perrin Harkins wrote: Alex Harper wrote: Aha! That's where the problem lies. I had recently added: PerlCleanupHandler +Apache::Sizelimit to my httpd.conf. I placed it there so the sizelimit would be enforced post-request. Removing

RE: CGI.pm params not being cleared?

2001-10-01 Thread Alex Harper
, October 1, 2001 7:42 PM To: Perrin Harkins Cc: Alex Harper; [EMAIL PROTECTED] Subject: Re: CGI.pm params not being cleared? Did you compile mod_perl with PERL_STACKED_HANDLERS? Perrin Harkins wrote: Alex Harper wrote: Aha! That's where the problem lies. I had recently added

Re: CGI.pm params not being cleared?

2001-10-01 Thread Perrin Harkins
Alex Harper wrote: I'm using a mod_perl 1.26 RPM I built using the RedHat RPM prep files and dropping in the 1.26 code. I believe it is built EVERYTHING=1. Apache::Status indicates all hooks are enabled, including: PerlStackedHandlers Enabled Okay. Would you mind putting some