OnNewSessionSettingsAvailable Event



 
Fires when the session settings changed.


Syntax

    SiteKiosk.Plugins("SiteCash").OnNewSessionSettingsAvailable = handler
Remarks
    Session settings are provided by some payment devices like smartcards.

    The object that caused the event can be referenced in the event function using "this".
Examples
    The following example shows the last name of the user when the settings changed.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.Plugins("SiteCash").OnNewSessionSettingsAvailable = ONSSA;
    function ONSSA()
    {
       alert(SiteKiosk.Plugins("SiteCash").SessionSettings.Lastname);
    }
    </SCRIPT>
    

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

Back to top