|
|
For 1.2.8, How do I enabled that again? I am already using this for another
control, but don't remember
How I did it.
-----Original Message-----
From: cake-php@xxxxxxxxxxxxxxxx [mailto:cake-php@xxxxxxxxxxxxxxxx] On Behalf
Of James K
Sent: Sunday, December 19, 2010 7:24 PM
To: CakePHP
Subject: Re: session problem or misunderstanding.
Do you have the Session component enabled for the controller? If you
debug out $this->Session you should get a debug out of the object. If
you're getting nothing, it could also be that you have debug turned
off in your core.php config file.
On Dec 19, 9:40 pm, cake-learner <sh.koiz...@xxxxxxxxx> wrote:
> I am trying to pass a variale with session but without success for a
> while.
> within the same controller i go $this -> Session -> write( 'id', 1 );
> $this -> Session -> read( 'id' );
>
> i gotta nothing and empty when i go debug( $this -> Session );
> I tried with $_SESSION so i guess within the same controller i can't
> pass with session?
>
> I have this line $helpers = array( 'Session' ) in the controller and
> there are already some controllers using session.
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 cake-php@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
cake-php+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
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 cake-php@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
cake-php+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
|
|