CakePhp Logout problems

52 views Asked by At

I'm having an issue with 'logout' function. The problem is that when i'm logged out i still can get back to previous pages in Browser.

public function logout(){
      $this->redirect($this->Auth->logout());
}

Please could anyone help.

0

There are 0 answers