or
$this->controller()->Components->Session->read()
--
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
I actually came to this:
$this->_Collection->Session->read('');
as I'm sure that Session is always loaded because I have it in my
AppController, but I wasn't sure if accessing _Collection directly is the
right way to do or not.
thanks anyway :)
--
Our newest site for the community: CakeP
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 wrote:
> In any method of your custom object you ca do something like th
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
Hi again,
I was working on a custom authorize object in conjunction with new Auth
component, that I ran into the need to use Session component there, I tried
to use $components array but it didn't worked. I suppose there should be a
way to do that, can anybody help me?
--
Our newest site for t