CloseLastSession Method



 
The CloseLastSession method closes the last session.


Syntax

    Computer.CloseLastSession()
    
Return Value
    None.
Remarks
    None.
Examples
    The following example closes the last session of the first computer.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    computer = SiteCafe.Server.Computers.GetComputerByIndex(1);
    computer.CloseLastSession();
    </SCRIPT>
    

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

Back to top