SiteKiosk Documentation
One Step Back

OnBeginSession Event




Fires when a session begins.


Syntax

    SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient").
    OnBeginSession = handler
    
Parameters
    sessionIndexLong value that contains the session index.
Remarks
    The object that caused the event can be referenced in the event function using "this".
Examples
    The following example displays the session index when a session begins.

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

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

Back to topVolver arriba

© 1997-2011 PROVISIO - Aventura, EEUU - Muenster, Alemania
Sitekiosk.es - Grupo24®, Madrid, España -