# 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
reason | String that specifies the reason for the request which will be listed in the logfile.
wait | Boolean value that specifies if SiteKiosk waits for the connection before the next script command is executed.
noidlereset | Boolean value that specifies if the connection is closed directly after revoking the connection cookie.
Return Value Returns a ConnectionCookie object that handles the dial-up connection. 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 top