On 4/12/06, The_Nox <[EMAIL PROTECTED]> wrote:
> function login()
> {
>         if(isset($this->params['data'])) {
>                 $this->Session->write('Users.id','test');
>         }
> }

If nothing gets posted, the $this->params['data'] array will not be set.
Have you debug($this->params['data']) to get a grasp on when data is
beeing posted?

--
< If you know Red Hat you know Red Hat,
If you know Slackware you know Linux >

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