It's documented as such:

Redirect (Optional, default = "false") -If true, a redirect will
immediately redirect the entire request to the event handler declared in
the DO attribute. All state value will be maintained if session is enabled.

The word immediately refers to the immediacy of the redirect.

You should only use a redirect when you want the current flow ended and a
new event flow started.

Popular cases are security and for post-response-redirect flow.

DW
On Jun 6, 2012 8:28 AM, "marc" <[email protected]> wrote:

> Hi Dan,
>
> I mean the redirection takes place immediately after the addresult() line
> _in the function_. So whatever comes after that line in the function is not
> executed.
> I expected that whatever comes after addresult() is executed and that
> redirection takes place only then, based on the value of the result.
>
> Looks like addresult is equivalent to cflocation...
>
> Marc
>
>  --
> Model-Glue Sites:
> Home Page: http://www.model-glue.com
> Documentation: http://docs.model-glue.com
> Bug Tracker: http://bugs.model-glue.com
> Blog: http://www.model-glue.com/blog
>
> You received this message because you are subscribed to the Google
> Groups "model-glue" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/model-glue?hl=en

-- 
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en

Reply via email to