Function works only when the user is offline

Dimitris Kerestetzis Posted in Beginning Developers 1 decade ago

Hello,

I want to ask why this function

 ossn_site_setting_update("lang", "el", 3);
 redirect(REF);

works only when the user is offline,
When the user makes login nothing change in my webisite.
Could someone to help?

Replies
Indonesian Arsalan Shah Replied 1 decade ago

That is because user have set his/her own language preference, you can change language in user profile settings page if your language is different than site language.