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
>
>
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-
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
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);