Can anyone tell me why this isn't working?
function login()
{
if(isset($this->params['data'])) {
$this->Session->write('Users.id','test');
}
}
But this is:
function login()
{
$this->Session->write('Users.id','test');
}
I checked with debug($this->Session->read());
And the session gets set up on page refresh it's gone with the first
code but stays with the second one :(
Thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---