>>If the action forwards the call to another action:
$this->forward('store', 'index');
forward is internal to the applicaton
>> If the action results in a web redirection:
$this->redirect('store/index'); $this->redirect('http://www.google.co.in)
redirect is internal to the application as well as we can redirect to external urls also
when you submit a form with post method use redirect, because if the user refreshes the page, form will not be submitted again
Learn to Develop an iPhone or iPad App in 4 Weeks Learn the latest and greatest markup language in the market with Robin Nixon(HTML & HTML5) Now $29 Only(75% Off)
>>If the action forwards the
Tue, 11/04/2008 - 16:21 — admin>>If the action forwards the call to another action:
$this->forward('store', 'index');
forward is internal to the applicaton
>> If the action results in a web redirection:
$this->redirect('store/index'); $this->redirect('http://www.google.co.in)
redirect is internal to the application as well as we can redirect to external urls also
when you submit a form with post method use redirect, because if the user refreshes the page, form will not be submitted again