AJAX Remote Method Invocation: Difference between revisions

From DataFlex Wiki
Jump to navigationJump to search
Jka (talk | contribs)
mNo edit summary
Jka (talk | contribs)
mNo edit summary
Line 8: Line 8:
         oRMI.addParameter(document.frmUserLogin.Password.value);
         oRMI.addParameter(document.frmUserLogin.Password.value);
         oRMI.sendCall();
         oRMI.sendCall();
[Category:AJAX]

Revision as of 15:40, 2 November 2007

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();

[Category:AJAX]