Abort Method



 
The Abort method aborts the request.


Syntax

    HTTPPost.Abort()
Return Value
    None.
Remarks
    None.
Examples
    The following example aborts the request directly after sending it.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    mypost = SiteKiosk.Network.CreateHTTPPost();
    mypost.OnPostComplete = OnPostComplete;
    function OnPostComplete(success, response)
    {
       if (success<0) {alert("Error");} else document.write(response);
    }
    mypost.AddParameter("q", "sitekiosk");
    mypost.Submit("http://us.altavista.com/web/results");
    mypost.Abort();
    </SCRIPT>
    

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

Back to top