SiteKiosk Documentation
One Step Back

DeleteTempInternetFiles Method




The DeleteTempInternetFiles method deletes temporary internet files.


Syntax

    [long=] SiteKiosk.DeleteTempInternetFiles(showdialog, cache, cookies,
            endsession, history, callback)
Parameters
    showdialogBoolean value that specifies if a dialog should be shown.
    cacheBoolean value that specifies if the cached files should be deleted.
    cookiesBoolean value that specifies if the cookies should be deleted.
    endsessionBoolean value that specifies if the session should be closed.
    historyBoolean value that specifies if the history should be deleted.
    callbackCallback function that will be called after deleting the files.
Return Value
    Returns a Long value containing the job ID.
Remarks
    The callback function has two parameters containing the job ID and the number of deleted files.
Examples
    The following example deletes all temporary internet files, closes the current session and shows the number of deleted files in an alert window.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    function callbackfunction(jobID, deletedfiles)
    {
       alert(jobID + 'successfull, ' + deletedfiles + ' files deleted');
    }
    SiteKiosk.DeleteTempInternetFiles(true, true, true, true,
    true, callbackfunction);
    </SCRIPT>

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

Back to topVolver arriba

© 1997-2011 PROVISIO - Aventura, EEUU - Muenster, Alemania
Sitekiosk.es - Grupo24®, Madrid, España -