Wednesday, December 12, 2012

Re: $this->Auth->logout() redirection

Hi cricket thanks!
i did it, just added a redirect function and after logout it redirecting me where i want.

public function logout(){
$this->Auth->redirect($this->Auth->logout());
$this->redirect(array('controller' => 'posts', 'action' => 'index'));
}


On Thursday, 13 December 2012 05:53:11 UTC+5:30, cricket wrote:
On Wed, Dec 12, 2012 at 6:38 AM, Abdul Khaliq <getsu...@gmail.com> wrote:
When i tried to logged out it is redirecting to 

The rest seems to have been cut off. Redirecting where?

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate