OnEndSession Event



 
Fires when a session ends.


Syntax

    SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient").
    OnEndSession = handler
    
Parameters
    sessionIndex Long value that contains the session index.
Remarks
    None.
Examples
    The following example displays the session index when a session ends.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteCafe = SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient");
    SiteCafe.OnEndSession = OnEndSession;
    function OnEndSession(sessionIndex)
    {
       alert(sessionIndex);
    }
    </SCRIPT>
    

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

Back to top