ok . i have shooted it on :http://groups.google.com/group/cake-php/
browse_thread/thread/5e89ca413936848f/3a8a81df3be0a78e?
lnk=gst&q=session&rnum=5#3a8a81df3be0a78e

On 6月27日, 上午10时46分, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> 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