I doubt that the view is the best place for this. Do you have a
compelling reason? Maybe there's a way to do what you want in the
controller.

Also, are you sure you want 'Config.language'? Unless you're setting
the locale, you really should choose a different name, unless you're
not using Cake's localisation classes.

On Sat, May 24, 2008 at 8:29 PM, robert123 <[EMAIL PROTECTED]> wrote:
>
>
>
>  I am trying to write some data into the session object at the view,
>  below is the statement, but it will not write into it session, anyone
> can
>  help? Thanks
>
>
> On May 25, 8:28 am, robert123 <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I am trying to write some data into the session object at the view,
>> below is the statement, but it will write into it session, anyone can
>> help? Thanks
>>
>> $session->write('Config.language', 'data');
>>
>> www.generics.ws
> www.genericsmed.com
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
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