surej ns wrote:
> hi,
> thanks Noah Fontes and Markus Lervik giving me the solution for parse 
> error..now I wanted to know how will we redirect to a new page.like 
> after login i wanted to redirect to a new page (adminHome.asp)how can 
> i do that.and what is the correct function .
>  
> thax
> surej
Hi,

You would do this in the view's execute method.

If you want to redirect (send the user to an external page, that is -- 
not an Agavi action)
you use 
$this->container->getResponse()->setRedirect("http://host.com/foo.bar";); 
and if you want to forward (send the user
to another Agavi action) you use $this->createForwardContainer('Module', 
'Action');


HTH,
Markus


_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to