Why are you triggering the session in aa.php and bb.php? What are
those for anyway?

The session component does all the session starting and magic
automatically.

On Mar 30, 1:40 am, Jeremy Burns <[email protected]> wrote:
> Have you tried using the session component and helper instead of accessing 
> the session directly?
>
> Jeremy Burns
> [email protected]
>
> On 30 Mar 2010, at 09:33, Rimoe wrote:
>
> > hi,
>
> > everyone,
>
> > I have set a session in aa.php
> > (
> > session_start();
> > $_SESSION['aa'] = '12345';
> > )
> > I  can read the value in bb.php
> > (
> > session_start();
> > echo $_SESSION['aa'] ;
> > )
>
> > but I can't read the value in any  aaas_controller.php.
> > (
> > echo $this->Session->read('aa');
> > echo $_SESSION['aa'];
> > )
> > do anyone know why is it?
>
> > Thank you very much
>
> > rimoe
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd 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 
> > athttp://groups.google.com/group/cake-php?hl=en
>
> > To unsubscribe from this group, send email to 
> > cake-php+unsubscribegooglegroups.com or reply to this email with the words 
> > "REMOVE ME" as the subject.

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 from this group, send email to 
cake-php+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to