RequestConnection Method

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


    [obj=] SiteKiosk.Dialup.RequestConnection(reason, wait, noidlereset)
    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 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.
    The following example connects to the Internet.

    <SCRIPT TYPE="text/javascript">
    mycon = SiteKiosk.Dialup.RequestConnection("reason", false, true);

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

Back to top