You need to sign in to do that
Don't have an account?
paul-lmi
Persisting session language vs. page language or site language
From what I understand, you can forcibly set a default site language, and you can also dynamically set a language on a per page basis with something like
<apex:page language="{!$CurrentPage.parameters.lang}">
but what about keeping that language when navigating to another page? Is it possible to set and get session-level parameters for reuse on subsequent page loads without using the portal authentication and user-language settings?
There is no session cookie when you access your site in unauthenticated mode.
Unfortunately, there is no read/write cookie support in apex yet (one of the roadmap items)
You can set your own cookie via javascript on the page and read the cookie and pass it as a parameter to the page (on each page)
thanks Bulent. just looking to identify all the needs that we have before doing a full migration of a part of our site onto force.com. at this point, the roadblocks for us are
thanks for the quick followup.
Hi Bulent,
Can you send me the javascript sample code to maintain the language preference for unauthenticated users?
Thanks much