Previous Topic: getVersion()Next Topic: getProperty(key)


setProperty(key,val)

Specifies the configuration values for the RiskMinder Client. The following table describes the properties that you can set for this method.

Property Key

Description

baseurl

The context path of the Web application that is using DeviceDNA.

This value must be set immediately after creating an instance of ca.rm.Client JavaScript object.

No default value is supported.

didname

The cookie or local storage item name. Device ID cookie is set by using this name. The value should be a string.

flashdatastorename

The name of the Flash local store where the Flash Device ID was stored (in earlier releases).

flashPath

Not being used currently. This property is reserved for future use.

format

The format in which DeviceDNA results should be returned. The value should be one of the following a strings:

  • HTML
  • JSON

jobs

Not being used currently. This property is reserved for future use.

store

The storage area for Device ID. The value should be one of the following strings:

  • plugin
  • localstorage
  • cookie
  • default

     

externalIP

The IP address of the system from which the page containing the Client was served.

noFlash

The indication whether the Flash movie bundled with the Client should be used for gathering additional attributes for DeviceDNA. The value should be boolean - true or false. By default, noFlash is set to false, which implies that the Flash movie will be used.

 

MESC-Related Configurations

 

MESC stands for Machine Effective Speed Calculations. An attempt is made to estimate processor speed by executing several runs of batched arithmetic operations. In our case, it is integer addition for specified intervals of time.

 

mescmaxIterations

Specifies how many runs of the batched arithmetic operations should be executed. Default value is 2.

mesccalibrationDuration

Specifies the duration for which each batch of arithmetic operations should run. The value is specified in milliseconds. The default value is 200ms.

mescintervalDelay

Specifies the delay (in number of milliseconds) between successive runs. The value is specified in milliseconds. The default value is 50ms.