AJAX Remote Method Invocation

From DataFlex Wiki
Jump to navigationJump to search

The Object should be "registered" in global.asa


 oRMI = new VdfRemoteMethodInvocation(true, "oSessionManager", "get_UserLogin", null, handleLogin);
       oRMI.addParameter(browser.cookie.get("vdfSessionKey"));
       oRMI.addParameter(document.frmUserLogin.LoginName.value);
       oRMI.addParameter(document.frmUserLogin.Password.value);
       oRMI.sendCall();