What is the difference between redirect and forward in zend framework?
Answer Posted / Mahesh Pratap Singh
In Zend Framework, both redirect() and forward() are used for navigation. However, redirect sends a HTTP 302 response with the new location in the Location header while the current page is still rendered. On the other hand, forward() skips rendering of the current controller action and directly executes the specified controller and action.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers