Thanks Gavin, that helped to clear things up.

-Joshua-
"Gavin Vess" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Hi Joshua,
>
> Despite the notices at the top of the Wikipedia entry, I think you will 
> find what you are looking for here:
>
>  http://en.wikipedia.org/wiki/Post/Redirect/Get
>
>  http://www.theserverside.com/tt/articles/article.tss?l=RedirectAfterPost
>
> Yes, _forward() is simply a technique for internal action chaining without 
> requiring another request from the user agent:
>
> 
> http://framework.zend.com/fisheye/browse/Zend_Framework/trunk/library/Zend/Controller/Action.php?r=trunk#l621
>
> Cheers,
> Gavin
>
> P.S. The demo/tutorial uses both _forward and _redirect in the 
> "forum/controllers/IndexController.php" controller:
>
>   http://framework.zend.com/wiki/display/ZFDEV/Tutorial
>
> Joshua Ross wrote:
>> I am also curious about this.  In order to separate logic in my actions I 
>> forward when I have post data. My initial thinking was that redirect 
>> sends and recieves some data from the client and as such forward would 
>> make more sense. However after looking at the code I don't think that is 
>> the case. Can anyone help me out by giving some clear examples on the 
>> intended uses of forward and redirect?
>>
>> Thanks,
>> -Joshua-
>>
>>
>>
>> "Ian Warner" <[EMAIL PROTECTED]> 
>> wrote in message 
>> news:[EMAIL PROTECTED]
>>
>>> Hi
>>>
>>> When creating my application I use the forward action to separate logic.
>>>
>>> However the downfall of this is when a user hits Refresh on the browser 
>>> or F5 they are taken back to the action that initiated the forwarding.
>>>
>>> I use this for validating forms and sending the user through different 
>>> paths depending on results.
>>>
>>> Is there a better method to handle this within Zend?
>>>
>>> How do other handle user pathing ?
>>>
>>> Cheers
>>>
>>> Ian
>>>
> 



Reply via email to