No matter what I do it won't work here is the code:

       //Get User Data;
       $Profile = $this->Session->read('User');

       if(isset($Profile['Username']))
       {
         $this->set('logged_in', TRUE);
         $this->set('username', $Profile['Username']);
       } else {
         $this->set('logged_in', FALSE);
      }
}

and no matter where I put it I get:
Notice: Undefined variable: logged_in in
\app\views\layouts\default.thtml on line 24


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to