OnLogonFailed Event
Fires when an error occured during logon.
Syntax
SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient").
OnLogonFailed = handler
|
Parameters
errorCode |
Long value that contains the error code. |
Remarks
The object that caused the event can be referenced in the event function using "this".
Examples
The following example displays the error code when a logon failed.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
SiteCafe = SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient");
SiteCafe.OnLogonFailed = OnLogonFailed;
function OnLogonFailed(errorCode)
{
alert("Error : " + errorCode);
}
</SCRIPT>
|
Applies to
SiteKiosk v6.2 (and later versions).
Back to top