SiteKiosk Documentation
One Step Back

RequestConnection Method




The RequestConnection method tries to connect to the Internet using a dial-up connection.


Syntax

    [obj=] SiteKiosk.Dialup.RequestConnection(reason, wait, noidlereset)
Parameters
    reasonString that specifies the reason for the request which will be listed in the logfile.
    waitBoolean value that specifies if SiteKiosk waits for the connection before the next script command is executed.
    noidleresetBoolean value that specifies if the connection is closed directly after revoking the connection cookie.
Return Value Remarks
    Note that all modal requests (wait=true) will be terminated when SiteKiosk commits an internal logout. If you want to keep the connection alive after logging out, wait must be false.
Examples
    The following example connects to the Internet.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    mycon = SiteKiosk.Dialup.RequestConnection("reason", false, true);
    </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 -