[mp2] ModPerl::Test::read_post destructive?

2003-08-14 Thread Michael Maciag
Apache/2.0.44 (Unix) mod_perl/1.99_09 Perl/v5.8.0

Using a copy of the read_post routine, I'm able to retrieve my POST
parameters reliably from my PerlResponseHandler. However, it seems when I do
invoke that routine, the client no longer receives the parameters. If I just
comment out my invocation of read_post, the client once again receives the
POST parameters.

Is the read_post in ModPerl::Test destructive in some way? If so, could
someone point me in the right direction I might take to modify it to be
non-destructive?

- Mike.




RE: [mp2] ModPerl::Test::read_post destructive?

2003-08-14 Thread Michael Maciag
Yikes, you're right! I just found a recent thread in the apache dev list
discussing this.

Thanks, I'll approach my problem another way.

- Mike.

-Original Message-
From: Ged Haywood [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 10, 2003 12:47 PM
To: Michael Maciag
Cc: Modperl Mailing List
Subject: Re: [mp2] ModPerl::Test::read_post destructive?


Hi there,

On Sun, 10 Aug 2003, Michael Maciag wrote:

 Is the read_post in ModPerl::Test destructive in some way? If so, could
 someone point me in the right direction I might take to modify it to be
 non-destructive?

I think you'll find that reading POST data has always been destructive.
If you want to read it more than once you have to save it somewhere.
Check the archives for more information.

73,
Ged.





[mp2] Having trouble setting params with CGI

2003-06-23 Thread Michael Maciag



I'm trying to use CGI to get/set params 
withinmy mp2 PerlResponseHandler, at least until Apache::Request for mp2 
is released. The get works just fine but my clients don't see the params I'm 
trying to set. Is it likely I just have an error somewhere or is there anything 
I have to dodifferently than just a simple:
 $q-param( -name = 
'myparam', -value ='myvalue')
in my handler?

-
Mike