I used:

CakeSession::write('Auth.Plugins', $user_plugins);

Should I be using:

$session = $this->_Collection->load('Session');
$session->write('Auth.Plugins', $user_plugins);

?

TIA

d//t

On Oct 25, 10:23 pm, José Lorenzo <[email protected]> wrote:
> In any method of your custom object you ca do something like this, it will
> load the component or return the already instantiated one.
>
> $session = $this->_Collection->load('Session');

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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