# Session Object The Session object represents a SiteCafe session. Members Table The following table lists the members provided by the Session object.
Members
Properties | Description
AccountIndex | Account index.
ComputerIndex | Computer index.
EndTime | Session end date.
Index | Index number.
LastUpdate | Date of last update from the server.
SessionAmount | Current session amount.
SessionTime | Current duration of the session.
StartTime | Session start date.
Remarks This object is returned by the GetSessionByIndex or Item method. Use the Session object to receive information about a session. Examples The following example displays the current amount of the first session.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    session = SiteCafe.Server.Sessions.GetSessionByIndex(1);
    alert(session.SessionAmount);
    </SCRIPT>
Applies to SiteKiosk v6.2 (and later versions). Back to top