You could write them into session using something like:
$this->Session->write('the_value', $value);
then to access it in your other controller you just use:
$this->Session->read('the_value');

This is just one way......there are many others


On Jan 18, 2:27 pm, zer0_gravity <zr...@hotmail.com> wrote:
> How Do I share a variable or data that exist in a particular
> controller but do not exist in other controller(s)?
>
> thanks

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@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to