Fantastic... top marks for concise and useful answer of the month :-)  Shame
that the first paragraph of that link isn't in Programming Apache
Modules...or (at least afaict) the perldoc's.

Cheers,

Wes

> -----Original Message-----
> From: darren chamberlain [mailto:[EMAIL PROTECTED]]
> Sent: 05 July 2002 15:57
> To: modperl
> Subject: Re: Apache::Request $apr->param; problems.
>
>
> * Wes Cravens <[EMAIL PROTECTED]> [2002-07-05 10:48]:
> > however if this routine is called more than once with the same $r
> > object then the second time there are no params.  It's as if calling
> > $apr->param strips them off $r.  That's not clever.  I can't find
> > anything in the documentation that says it would behave like that.
>
> Are you POSTing the data?  You can't read that more than once.  Look  at
> (for example)
> http://perl.apache.org/release/docs/1.0/guide/snippets.html#Reusin
> g_Data_from_POST_request
> or check out Apache::RequestNotes/
>
> (darren)
>
> --
> The language Unix is vastly more inconsistent than the language Perl.
> And guaranteed to remain that way, forever and ever, amen.
>     -- Larry Wall

Reply via email to