Fred Moyer wrote:
Greetings,
I have a handler that calls $r->internal_redirect('/new/location'). I
want to avoid recomputing the data I have in $r->pnotes at the time of
the redirect, and instead magically pass that pnotes data to the $r in
the new handler somehow.
I can stash the $r->pnotes data in $c->pnotes, then grab it from
$c->pnotes in the new handler. Heck, I could even use $c->pnotes
instead of $r->pnotes and forget about the problem (well maybe it's that
easy, but I'm not sure!).
Or, I could just use $r->prev->pnotes. Duh, sorry for the noise -
somehow never got around to using $r->prev until now :)