2009年1月17日星期六

[fw-core] Return URL

Hi,
 
I have a "send a friend" form where I would like to return the user to the original page from where he accessed the tool.
I also have a "contact user" form, which can be used only by signed-in users, therefore member needs to login/register before accessing the form; and again, I would like to return her to the original page form where she accessed  the tool.
 
How can I do the above in ZF? All help is appreciated.
 
-R
 
P.S.
- I have a standard (conventional) ZF setup
- I have extended the "Zend_Controller_Action" in "My_Action"
- All my controllers extend "My_Action"
Can I do some tricks in "My_Action"? (I did try some stuff, but that din't work when login/registration is involved)

没有评论: