Updating a JavaScript to honor Remembered Device across sub-domains

The VIP IA JavaScript can be set to honor Remembered Devices across sub-domains. In this scenario, a user logs on to https://accounts.trustedbank.com, and sets the device as remembered. If you invoke the
IaDfp.setParentDomain()
function, when the user logs on to https://loans.trustedbank.com, the VIP IA JavaScript recognizes the device. VIP accepts the Remembered Device as the second factor, transparently to the user.
The Remembered Device setting may be stored in HTML5 local storage, or as a cookie in the browser. If you invoke the
IaDfp.setParentDomain()
function, the VIP IA JavaScript synchronizes the settings. The VIP IA JavaScript honors the most recent Remembered Device setting, and updates the other setting to match.
The
IaDfp.setParentDomain()
function is invoked as follows. This function also sets the parent domain that the VIP IA JavaScript honors. You must invoke the
IaDfp.setParentDomain()
function before you invoke any other
IaDfp
function.
<!-- Include VIP IA JavaScript Library --> <script type="text/javascript" src="https://userservices.vip.symantec.com/ vipuserservices/static/v_1_0/scripts/iadfp_1.3.js"></script> <!-- Set base domain for IaDfp uses --> <script type="text/javascript"> IaDfp.setParentDomain(".base.domain.com");</script>