browserType

Type: Integer

The browserType property of the JadeTcpIpProxy class contains the type of Web browser whose configuration settings are used for the proxy connection and controls how the proxy object behaves.

If this property contains a non-zero value, JADE attempts to read proxy host configuration settings from that browser.

The browserType property can be set to one of the values listed in the following table.

JadeTcpIpProxy Class Constant Integer Value
BrowserType_None 0 (the default)
BrowserType_InternetExplorer 1
BrowserType_Netscape 2
BrowserType_Auto 3

Use the BrowserType_InternetExplorer (1) value if your proxy server details have been configured into Internet Explorer or the BrowserType_Netscape (2) value if your proxy server details have been configured into a Mozilla-style Web browser.

If the browser type is BrowserType_InternetExplorer (1), the registry is checked. If the browser type is BrowserType_Netscape (2), JADE checks the MozillaPrefs parameter in the [JadeClient] section of the JADE initialization file for the name of a valid Mozilla-style Web browser user preferences file (which is usually called prefs.js). If you want your application to have its proxy settings set externally from your JADE code, use the BrowserType_Auto (3) value.

BrowserType_InternetExplorer (1) is used for client nodes.

The default value of BrowserType_None (0) indicates that the JadeTcpIpProxy object does not have to look for configuration information and that all required details are available as properties on the proxy object.

For examples of reimplementing JadeTcpIpProxy class functionality, see "Proxy Communication Code Examples", earlier in this chapter. See also "Considerations when Implementing JadeTcpIpProxy Class Features", earlier in this chapter.