could you give me un example
if you mean like this
<?php if (empty($session->check('Auth.User.id'))) {
echo $html->link(__('login to comment', true), 'users/login');
}
?>
i allready tried and it gives me the same errorr
On Jun 8, 3:01 pm, Miles J <[email protected]> wrote:
> To be more precise, this should work better.
>
> $session->check('Auth.User.id');
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---