-----Original Message-----
From: Rob Bloodgood
To: Geoffrey Young
Cc: mod_perl
Sent: 6/18/01 8:33 PM
Subject: RE: Adding parameters to a request

[snip]
>
>But I don't know if the above call is "complete" (changes to the
>Apache::Table object reflect in the request).  

oh, I see... I don't think I have ever tried to use Apache::Request to set
the values for the current request.

ok, here are a few suggestions (none tested)...

use Apache::Request::instance instead of Apache::Request::new - I assume
that you are setting parameters in your auth handler then reading them again
with Apache::Request.  try using instance() to stash $apr away.  if your
version doesn't support it, take a look at the code - it's just stashing
$apr into $r->pnotes()

I don't think (off the top of my head, which is frequently wrong :) that you
can use any Apache::Request method to set query string parameters that are
dug out in later phases, since I'll be that Apache::Request goes straight to
r->args in the request_rec.  so, try calling $r->args($new_query_string)
instead of using param() to set them...

> Am I supposed to
>re-insert
>the table into the request?  None of the following worked:
>
>$apr->args($parms);
>$apr->parms($parms);
>
>and I couldn't figure out how to convince $parms to stringify so that I
>could just assign THAT to $apr->args.

you'll just have to use a $parms->do() loop to concatinate them together I'd
think.

HTH some

--Geoff

Reply via email to