Re: Authentication: logged user data

2008-07-15 Thread Janoma

Thanks!

I wasn't using Auth in a proper way, though it's quite straightforward
actually.

On 14 jul, 18:03, "Sam Sherlock" <[EMAIL PROTECTED]> wrote:
> http://book.cakephp.org/view/172/authentication
>
> 2008/7/14 Janoma <[EMAIL PROTECTED]>:
>
>
>
> > Hello,
>
> > I have two models: User and News. Each element in the News table has a
> > user associated with it (the author). How do I obtain the username of
> > the currently logged user? I have tried several things, but I can't
> > find where the session info is stored.
>
> > Thanks for your help!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Authentication: logged user data

2008-07-14 Thread Sam Sherlock
http://book.cakephp.org/view/172/authentication

2008/7/14 Janoma <[EMAIL PROTECTED]>:

>
> Hello,
>
> I have two models: User and News. Each element in the News table has a
> user associated with it (the author). How do I obtain the username of
> the currently logged user? I have tried several things, but I can't
> find where the session info is stored.
>
> Thanks for your help!
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Authentication: logged user data

2008-07-14 Thread Janoma

Hello,

I have two models: User and News. Each element in the News table has a
user associated with it (the author). How do I obtain the username of
the currently logged user? I have tried several things, but I can't
find where the session info is stored.

Thanks for your help!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---