daniel ([EMAIL PROTECTED]) said something to this effect on 03/19/2001:
> hello all,
>
> i've got a registry script that issues a subrequest for a php page that
> issues a subrequest on another registry script.
>
> registry->php->registry
>
> the initial registry script sets:
>
> $r->notes("seen"=> $seen);
> my $subr = $r->lookup_uri("test.php3");
> $subr->run;
*snip*
>
> The note is not available in the php or subsequent subrequests.
> If the subrequest is for another registry script the note works fine.
Nor should it be. You need to set the note in the subrequest, or
access the parent's notes table.
Try replacing the first piece with:
my $subr = $r->lookup_uri('test.php3');
$subr->notes('seen' => $seen);
$subr->run;
And the note "seen" will be present. You can't, as far as I know,
access the parent request from a PHP script, just like you can't
for normal CGI scripts that are run as subrequests. That's just a
limitation of the model, and probably a good reason to rewrite
the whole piece in mod_perl, by the way.
(darren)
--
It is wrong always, everywhere and for everyone to believe anything upon
insufficient evidence.
-- W. K. Clifford