StartSession Method



 
The StartSession method starts a session.


Syntax

    Computer.StartSession(accountIndex)
    
Parameters
    accountIndex Long value that specifies the account index.
Return Value
    None.
Remarks
    None.
Examples
    The following example starts a session with the first computer and the first account.

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

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

Back to top