I have a multi language website with caching
At the view there is some no cache tag to record which locale the
user is currently in and it has to be stored in the session.
So I need to store data into session at the view page,
Strangely this statement works
$session->read('Config.language');
but the below statement will not work in the nocache tag in the cached
view
$session->write('Config.language', $locale);
$locale is just string variable to represent the user locale
Can anyone highlight how to make $session->write('Config.language',
$locale); works?
Thank you
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---