AllowedURLs Collection



 
The AllowedURLs collection contains the allowed URLs configured in the SiteKiosk configuration.


Members Table

    The following table lists the members provided by the AllowedURLs collection.

    Members
    Properties Description
    Count Contains the number of allowed URLs.
    Methods Description
    Item Returns one item of the collection.

Remarks
    This collection is available through the object SessionSettings. Use the AllowedURLs collection to receive the allowed URLs configured in the SiteKiosk configuration.
    Note that session settings are only provided by some payment devices like smartcards.

    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 number of allowed URLs in an alert window.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    sitecash = SiteKiosk.Plugins("SiteCash");
    alert(sitecash.SessionSettings.AllowedURLs.Count);
    </SCRIPT>
    

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

Back to top