if (empty($session->read('Auth.User'))) {

}

On Jun 5, 9:03 am, cakephp_rocks <[email protected]> wrote:
> how can you use this if ($loggedIn == 0){
>
> to set message like lets say
>
> i have comment box if users not logged in show them this message
>
> (login to comment )
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to