I am new to CakePHP, but you can try this in your controller method:

$this->Session->write('language', 'deu');

Then, when you need it, use this:
$lang = $this->Session->read('language');

More on http://manual.cakephp.org/chapter/session

On Feb 2, 5:48 pm, "Kathrin" <[EMAIL PROTECTED]> wrote:
> I want so save the language setting, a choice of user, (Array
> ( [language] => deu )) in session. I create a new action like
> change_language an now I try to save the Choice in the session of the
> user.
> Have somebody an idea or a simple example?
> Many Thanks
> Kathrin


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