Function works only when the user is offline

Dimitris Kerestetzis Posted in Beginning Developers 8 years 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 8 years 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.