OnSessionBegin Event



 
Fires when a new session begins.


Syntax

    SiteKiosk.Plugins("SiteCash").OnSessionBegin = handler
Remarks
    The object that caused the event can be referenced in the event function using "this".
Examples
    The following example shows an alert window when a session begins.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.Plugins("SiteCash").OnSessionBegin = OnSessionBegin;
    function OnSessionBegin()
    {
       alert("A new session begins.");
    }
    </SCRIPT>
    

Applies to
    SiteKiosk v5.0 (and later versions).

Back to top