Can you post an example? What do you mean by authenticate?

If you use the AuthComponent, you can get the ID from $this->Auth->user('id').

On Fri, May 29, 2009 at 1:21 PM, Paco Gomez <[email protected]> wrote:
>
> Hello everybody,
>
> I've seen a lot of examples that use in controllers function like
>
> some_function($id)
> {
> ...
> }
>
> - How functions can receive user id authenticate automaticaly?
> - Is there any variable that store user table in the session?
>
>
> Thank you very much
> >
>

--~--~---------~--~----~------------~-------~--~----~
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