Plumtree Portal UI  
 

PTPersonalSettingsHelper.SetAndCachePersonalSetting Method

This method stores a personal setting on the HTTP Session and 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. Only call this version of this function if you don't have an AActivitySpace.

Overload List

This method stores a personal setting on the HTTP Session and 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. Only call this version of this function if you don't have an AActivitySpace.

public static void SetAndCachePersonalSetting(string,object,IPTSession,ISessionManager,IApplication,XPResourceManager);

Call this method to set a personal setting name value pair on the portal server, and update the session cache of personal settings.

public static void SetAndCachePersonalSetting(string,object,AActivitySpace);

See Also

PTPersonalSettingsHelper Class | com.plumtree.portaluiinfrastructure.login Namespace