Item Method



 
The Item method returns one item of the collection.


Syntax

    [obj=] SessionsCol.Item(index)
    
Parameters
    index Long value that contains the item number to return.
Return Value
    Returns a Session object representing the specified session.
Remarks
    Collection-index values are 1-based.
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