Help:
i got a strange problem about session . i have  there controllers  :
users ,  infos,comments.
in users controller:
$this->Session->write('User', $someone['User']);
in any controller & views $ layout  $this->Session-
>read('User.username')  works well .

but in infos controller 's  function view($id). i wrote:  $this-
>Session->write('id', $id);
and i  can read it in infos controller's view. but  in another
controller  such as comments , it got the wrong value .

can someone help me ?
best regard.
(sorry for my poor english .china.xm)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to