-- Matthew Ishii <[EMAIL PROTECTED]> wrote
(on Tuesday, 21 October 2008, 11:58 AM -0700):
> I am having major issues here, I had thought that separating the login
> processing and the logout functions from the index page where the
> actual login form is rendered would solve the issues im having but I
> was mistaken.  The issue still remains, I select logout and the
> browser hourglasses and times out.
> 
> Is there some internal MVC zend log that I can take a look at?  

No -- you'd have to set that up yourself.

Take a look at how authentication is done in the bugapp example app I
did for the Dutch PHP Conference:

    http://github.com/weierophinney/bugapp

It does login and logout, and it's done very simply and
straight-forward.

> I have
> taken a look at the apache logs but nothing happens.  Its as if the
> request is stuck in the framework.  Im not sure it will help, but this
> is my logout function and my index function inside the index
> controller:
> 
> class IndexController extends Zend_Controller_Action
> {
> 
> 
>    public function indexAction()
>    {
>      $config = Zend_Registry::get('config');
> 
>      $this->view->title   = $config->english->login->title;
>      $this->view->baseurl = $config->production->hosturl;
>      $this->view->shead   = $config->english->login->subheader;
>      $this->view->form    = $this->getLoginForm();
> 
>      $this->_helper->layout->disableLayout();
>    }
> 
> 
> And logout function:
> 
> 
>    public function logoutAction()
>    {
>      Zend_Auth::getInstance()->clearIdentity();
>      return $this->_helper->redirector('index');
>    }
> 

-- 
Matthew Weier O'Phinney
Software Architect       | [EMAIL PROTECTED]
Zend Framework           | http://framework.zend.com/

Reply via email to