LastSessionInfo Object



 
The LastSessionInfo object provides information about the last payment session.


Members Table

    The following table lists the members provided by the LastSessionInfo object.

    Members
    Properties Description
    Duration Duration of the last session.
    Sales Sales of the last session.
    Valid If there was a valid session.
    Methods Description
    Reset Resets the valid status of the last session.

Remarks
    This object is available through the object SiteCash. Use the LastSessionInfo object to determine the duration and sales value of the last session.

    Note that the path of a file using SiteKiosk objects must be allowed in the
    SiteKiosk configuration (Security -> Access -> URL's With Script Permission)
    if it is not a browser skin file.
Examples
    The following example shows the duration of the last session in an alert window.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    alert(SiteKiosk.Plugins("SiteCash").LastSessionInfo.Duration);
    </SCRIPT>

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

Back to top