Hi John,

John Cappiello wrote:
> On Fri, Jan 16, 2009 at 11:57:46PM -0500, Patrick Rutkowski wrote:
>> If the processing fails, I would like FOO to be able to $m->redirect to 
>> page BAR for further processing, with the args intact.
> 
> The way this is often handled in mason, is something like this in FOO:
> 
> if (not $success) {
>   return $m->comp('/BAR', %ARGS);
> }


I didn't ask the original question, but your answer intrigued me.  How does 
"return" differ from a "redirect" and which is preferred between the two and 
why?

Thank you!

Ray



------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to