DeleteTempInternetFiles Method

The DeleteTempInternetFiles method deletes temporary internet files.


    [long=] SiteKiosk.DeleteTempInternetFiles(showdialog, cache, cookies,
            endsession, history, callback)
    showdialog Boolean value that specifies if a dialog should be shown.
    cache Boolean value that specifies if the cached files should be deleted.
    cookies Boolean value that specifies if the cookies should be deleted.
    endsession Boolean value that specifies if the session should be closed.
    history Boolean value that specifies if the history should be deleted.
    callback Callback function that will be called after deleting the files.
Return Value
    Returns a Long value containing the job ID.
    The callback function has two parameters containing the job ID and the number of deleted files.
    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">
    function callbackfunction(jobID, deletedfiles)
       alert(jobID + 'successfull, ' + deletedfiles + ' files deleted');
    SiteKiosk.DeleteTempInternetFiles(true, true, true, true,
    true, callbackfunction);

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

Back to top