Waht you put inthe parenthesis is the key that is stored in the session
i.e. $this->aroAlias = $this->Session->read('username');
The key you reference is what ever you saved the data to the session with.
On 7/12/06, Kenia <[EMAIL PROTECTED]> wrote:
Hii
i have a problem with acl, because i dont understand what is session,
and i dont know what to put in the method read of session. sorry i'm
dont speak english, so...
this is the code:
app_controller.php
function __construct()
{
$this->aroDefaultAlias = 'Everybody';
$this->aroAlias = $this->Session->read('Session.username');
parent::__construct();
}
Session.username?????????
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
-~----------~----~----~----~------~----~------~--~---
- Session - > Read ACL Kenia
- Re: Session - > Read ACL Ryan Petrain
