# Sessions Object The Sessions object handles the SiteCafe sessions. Members Table The following table lists the members provided by the Sessions object.
Members
Methods | Description
Delete | Deletes a session.
GetMaxComputerCount | Returns the maximum number of computers in a specified period of time.
GetSessionByIndex | Returns a session by index.
GetSessions | Returns a range of sessions of a computer.
GetUsageTime | Returns the usage time of a computer.
Events | Description
OnCloseSession | Fires when a session is closed.
OnCreateSession | Fires when a session has been created.
OnSessionChanged | Fires when a session changed.
Remarks This object is available through the object Server. Use the Sessions object to handle the SiteCafe sessions. Examples The following example deletes the first SiteCafe session.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteCafe.Server.Sessions.Delete(1);
    </SCRIPT>
Applies to SiteKiosk v6.2 (and later versions). Back to top