send code of addcontroller and default controller.

On Apr 11, 9:51 am, Freshow <[EMAIL PROTECTED]> wrote:
> in my AddController ,i use:  .... $this -> Session ->
> write('id','1001');...
>
> and I can read the value of id by :......$session -> read('id');......
>
> but ,if I add this into AddController, I cannot get the value of id:
>
>  ......
> $this -> Session -> write('id','1001');
> $this -> redirect('/');
> ......
>
> how can I fix this problem, THX for your help! ^_^

--~--~---------~--~----~------------~-------~--~----~
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