On Tue, 26 Feb 2002, F. Xavier Noria wrote:

> I suppose that controllers would use internal redirects to call the
> views, is there a way to pass Perl data this way?  For example, in the
> hangman game in O'Reilly's book a controller would load a session from
> the cookie, process user's guest, modify the state and redirect the
> request internally to the view.  Ideally the view shouldn't read the
> data to display from the database again... could it be passed somehow by
> the first content handler?

As far as I know r->notes() do not persist across internal redirections.
You can try r->err_header_out() but clean up it in second handler
before content output.

Igor Sysoev

Reply via email to