Aqualogic Interaction API  
 

IPTSession.GetSettingsAsString Method 

Retrieve session-wide settings.

string GetSettingsAsString(
   int iSetting
);

Parameters

iSetting
- The ID of the setting to retrieve. Valid values are below from the PT_SESSION_SETTINGS enumeration: PT_SESSION_SETTINGS.PT_SESSION_ROOTDATADIRECTORY (The Plumtree data directory where file-based data is kept) PT_SESSION_SETTINGS.PT_SESSION_WEBSERVERURL (The URL to the web server) PT_SESSION_SETTINGS.PT_SESSION_DISPLAYFILESDIRECTORYURL (The URL to the directory where the data source provider specific display files are stored) PT_SESSION_SETTINGS.PT_SESSION_OPENFEDERATEDSEARCHURL (The URL to the ASP page that handles opening cards returned in a federated search) PT_SESSION_SETTINGS.PT_SESSION_RELATIVEDOCURLPREFIX (The prefix to use with relative URLs). PT_SESSION_SETTINGS.PT_SESSION_LOCALE PT_SESSION_SETTINGS.PT_SESSION_LANGUAGE

Return Value

The value associated with the passed-in setting id.

See Also

IPTSession Interface | com.plumtree.server Namespace