RevokeCookie Method



 
The RevokeCookie method revokes a connection cookie.


Syntax

    ConnectionCookie.RevokeCookie()
    
Return Value
    None.
Remarks
    The disconnecting process is started when the connection cookie is revoked, no matter how many references to the cookie exist.
Examples
    The following example starts the disconnecting process directly after connecting.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    myconn = SiteKiosk.Dialup.RequestConnection("reason", true, true);
    myconn.RevokeCookie();
    </SCRIPT>

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

Back to top