Hello there,

I think that after any event in dispatch loop of front controller the
redirect flag in response object should be checked, and if set - loop should
stop and redirect should occur.

say, i have a front controller plugin. in routeStartup i'm somehow decided
that current request is invalid or make no sense and i'd like the
redirection to occur immediately.

Currently this could be done by setting the redirect to response object and
throwing an exception, but this depends on configuration just way too much,
i.e. telling front controller to throw exceptions will require modifications
in bootstrap (at minimum) to handle this special kind of exceptions.

What you think?
-- 
View this message in context: 
http://www.nabble.com/Zend_Controller_Front-dispatch-loop-tf4769178s16154.html#a13641781
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to