Hello,
Is there a way to use session helper from my custom helper?
Tried to write
var $helpers = array('Session');
But that doesn't work. When using
$this->Session->check('User')
for example,
I get an error:
Notice: Undefined property: SiteHelper::$Session in ...site.php on
line 31
Fatal error: Call to a member function check() on a non-object
in ...site.php on line 31
Using latest stable release.
Thank you.
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---