SiteKiosk Documentation
One Step Back

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
    PropertiesDescription
    DurationDuration of the last session.
    SalesSales of the last session.
    ValidIf there was a valid session.
    MethodsDescription
    ResetResets 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 topVolver arriba

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