OnDisconnect Event



 
Fires when a computer has been disconnected.


Syntax

    SiteCafe.Server.Computers.OnDisconnect = handler
    
Parameters
    index Long value that contains the computer index.
Remarks
    The object that caused the event can be referenced in the event function using "this".
Examples
    The following example displays the index when a computer has been disconnected.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteCafe.Server.Computers.OnDisconnect = OnDisconnect;
    function OnDisconnect(index)
    {
       alert("Computer: " + index);
    }
    </SCRIPT>
    

Applies to
    SiteKiosk v6.2 (and later versions).

Back to top