In this case instead of $this->_forward(),  perhaps try a redirect:

$this->_redirect(Œ/admin/index¹);
return;

There are also a number of other ways to "redirect":

http://framework.zend.com/manual/en/zend.controller.actionhelpers.html

Search for "redirector".

-ralph

On 1/6/09 8:00 PM, "Eric Haskins" <cybertuff...@verizon.net> wrote:

>  
> I have a loginController and after a user passes auth it uses
> 
> $this->_forward('index','index','admin');
> 
> Problem is there is a table on that page with pagination when a user clicks
> next it errors because the url is still domain.com/login/login/ in the url
> box. If I manually type /admin/index  the pagination works fine
> 
> How do I forward the user to the admin controller so it doesnt break
> pagination 
> 
> thx for any pointers
>  
> Eric
>  
> 

-- 
Ralph Schindler
Software Engineer     | ralph.schind...@zend.com
Zend Framework        | http://framework.zend.com/


Reply via email to