RE: Adding parameters to a request

2001-06-18 Thread Geoffrey Young
-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).

RE: Adding parameters to a request

2001-06-18 Thread Rob Bloodgood
> [snip] > > I'm using Apache::Request, for the sole > >purpose > >of having easier access to the parameters. Except that it turns out > >Apache::Request's param() method does NOT support *setting* parameters, > >only > >*getting* them. > > the > $apr->param('foo' => [qw(one two three)]); > exam

RE: Adding parameters to a request

2001-06-18 Thread Geoffrey Young
-Original Message- From: Rob Bloodgood To: mod_perl Sent: 6/18/01 6:35 PM Subject: Adding parameters to a request [snip] > I'm using Apache::Request, for the sole >purpose >of having easier access to the parameters. Except that it turns out >Apache::Request's p

Adding parameters to a request

2001-06-18 Thread Rob Bloodgood
In my AuthenHandler, I run the following snippet: # validation successful $apr->subprocess_env(REMOTE_PASSWORD => $pass); my $args = $apr->args || ''; $apr->args( $args . ( length $args ? '&' : '' ) . "pid=$pid" ) unless $args =~ /pid=\d+/; return