SiteKiosk Documentation
One Step Back

DeleteTempInternetFilesAndCertificates Method




The DeleteTempInternetFilesAndCertificates method deletes temporary internet files and installed personal certificates.


Syntax

    [long=] SiteKiosk.DeleteTempInternetFilesAndCertificates(showdialog,
            cache, cookies, endsession, history, callback, certificates)
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.
    certificatesBoolean value that specifies if installed personal certificates should be deleted.
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, installed personal certificates, 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.DeleteTempInternetFilesAndCertificates(true, true, true, true,
    true, callbackfunction, true);
    </SCRIPT>

Applies to
    SiteKiosk v6.6 (and later versions).

Back to topVolver arriba

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