SiteKiosk Documentation
One Step Back

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
    PropertiesDescription
    CountContains the number of allowed URLs.
    MethodsDescription
    ItemReturns 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 topVolver arriba

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