Plumtree Portal UI  
 

PTPersonalSettingsHelper.SetPersonalSetting Method 

This method stores a personal setting on the HTTP Session, but not in the DB. It also handles setting the runtime settings in the server for language and locale if you try to set the locale. You should always set the Locale, which will automatically set the language, rather than just setting the language, which will allow the language and locale to get out of sync.

public static void SetPersonalSetting(
   string sSettingName,
   object oSettingVal,
   IPTSession ptSession,
   ISessionManager sessionManager,
   IApplication app,
   XPResourceManager rm
);

Parameters

sSettingName
String name of personal setting
oSettingVal
Object value of personal setting
ptSession
sessionManager
app
rm

See Also

PTPersonalSettingsHelper Class | com.plumtree.portaluiinfrastructure.login Namespace