> -----Original Message-----
> From: brian d foy [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 14, 2000 9:09 AM
> To: [EMAIL PROTECTED]
> Subject: RE: does notes() work with custom_response()?
>
>
> On Thu, 14 Sep 2000, Geoffrey Young wrote:
>
>
> i was using:
>
> > - my $notes = $r->notes;
> > - my $pnotes = $r->pnotes;
>
> you suggested:
>
> > + my $notes = $r->prev->notes || $r->notes;
> > + my $pnotes = $r->prev->pnotes || $r->pnotes;
>
> neither of those worked for me. did they work for you?
well, I tried to understand what you were doing so I set up a quick test and
yes, it worked - but I may not be reproducing your setup exactly...
remember that custom_response() is a tie into Apache's ErrorDocument
handling, which uses an internal redirect, and for internal redirects you
can use $r->prev to get at the initial request's stuff. See the eagle book
for more detail...
from this and your other post, you might want to take a look at
http://perl.apache.org/guide/perl.html#Exception_Handling_for_mod_perl
to get another perspective on exception handling...
HTH
--Geoff
>
> --
> brian d foy <[EMAIL PROTECTED]>
> Director of Technology, Smith Renaud, Inc.
> 875 Avenue of the Americas, 2510, New York, NY 10001
> V: (212) 239-8985
>