SessionTime Property



 
The SessionTime property contains the current duration of the session.


Syntax

    [long=] Session.SessionTime
    
Possible Values
    Long value that retrieves the duration.

    The property is read only.
Remarks
    Durations are a number of seconds.
Examples
    The following example displays the current duration 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).SessionTime);
    </SCRIPT>
    

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

Back to top