Ok what is aa.php and bb.php for?

On Apr 2, 10:07 am, scottmdahl <[email protected]> wrote:
> Have you included the Session component at the top of your controller
> like: var $components = array('Session');
>
> Scott
>
> On Apr 1, 12:01 am, Rimoe <[email protected]> wrote:
>
> > Thank you,
>
> > just use
>
> > $this->Session->write('myVar', 'value'); //writes a session var named
> > "myVar
> > $this->Session->read('myVar'); // reads the session var value
>
> > can get the value,
> > set session in aa.php can’t get value though controller by the
> > $this->Session->read('myVar'); // reads the session var value
>
> > by the way
> > my core.php
> > Configure::write('Session.save', 'php');
>
> > Thank all of  you very much.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" 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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to