SessionsCol Collection



 
The SessionsCol collection contains SiteCafe sessions.


Members Table

    The following table lists the members provided by the SessionsCol collection.

    Members
    Properties Description
    Count Contains the number of sessions.
    Methods Description
    Item Returns one item of the collection.

Remarks
    This object is returned by the GetSessions method. Use the SessionsCol collection to receive information about a computer's sessions.

Examples
    The following example displays the current amount of the first computer's first session.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    sessions = SiteCafe.Server.Sessions.GetSessions(1, 0, 0, 1, 10, true);
    alert(sessions.Item(1).SessionAmount);
    </SCRIPT>
    

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

Back to top