-- 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/
