thx, fixed that. shouldnt have been false in the first place ;) I think this is the ticket to the issue - for reference: https://cakephp.lighthouseapp.com/projects/42648/tickets/3916-fail-to-redirct-in-237
Am Freitag, 12. Juli 2013 17:38:14 UTC+2 schrieb Allan Diego: > > I have followed cook book > > > http://book.cakephp.org/2.0/en/tutorials-and-examples/simple-acl-controlled-application/part-two.html > Controller::redirect(*mixed $url*, *integer $status*, *boolean $exit*) > > If a user is already logged in, redirect him by adding this to your > UsersController: > > public function login() { > if ($this->Session->read('Auth.User')) { > $this->Session->setFlash('You are logged in!'); > $this->redirect('/', null, false); > }} > > tried > > $this->redirect('/'); > $this->redirect($this->referer()); > > all redirect to the same url (duplicated base folder) > > > -- 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out.
