Re: $this->Session->setFlash(' -- msg here -- '); not showing up on 1.2.x

2007-12-10 Thread Louie Miranda
Thanks a lot everyone! On Dec 11, 2007 12:13 AM, daphonz <[EMAIL PROTECTED]> wrote: > > Also make sure you have something in your view to display the message: > > if($session->check('Message.flash')): >$session->flash(); >endif; > ?> > > Or the like. > > -Casey > >

Re: $this->Session->setFlash(' -- msg here -- '); not showing up on 1.2.x

2007-12-10 Thread daphonz
Also make sure you have something in your view to display the message: check('Message.flash')): $session->flash(); endif; ?> Or the like. -Casey On Dec 9, 10:44 pm, "Louie Miranda" <[EMAIL PROTECTED]> wrote: > Got this working.. > > Just add.. > > $this-

Re: $this->Session->setFlash(' -- msg here -- '); not showing up on 1.2.x

2007-12-09 Thread Louie Miranda
Got this working.. Just add.. $this->Session->setFlash('Sorry, the information you\'ve entered is incorrect.'); $this->redirect('login'); *$this->redirect('login');* So, there will be no blank page. And the flash message will be shown on the login() Louie On De

$this->Session->setFlash(' -- msg here -- '); not showing up on 1.2.x

2007-12-09 Thread Louie Miranda
Guys, this is fairly simple setFlash. But, i wonder why it is now showing up? A few of my simple auth codes.. data) == false) { if(($user = $this->User->validateLogin($this->data['User'])) == true) { $this->Session->write('User', $user);