Matthew Weier O'Phinney-3 wrote:
>
> -- spaun <[EMAIL PROTECTED]> wrote
> (on Wednesday, 07 November 2007, 10:01 PM -0800):
>> 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?
>
> Good idea. Please add an issue in the issue tracker for this.
>
> --
> Matthew Weier O'Phinney
> PHP Developer | [EMAIL PROTECTED]
> Zend - The PHP Company | http://www.zend.com/
>
>
Sorry, but I just can't fugure out how to add an issue (maybe because it's
and of day here, not sure)
--
View this message in context:
http://www.nabble.com/Zend_Controller_Front-dispatch-loop-tf4769178s16154.html#a13646329
Sent from the Zend Framework mailing list archive at Nabble.com.