SiteKiosk Documentation
One Step Back

OnEndSession Event




Fires when a session ends.


Syntax

    SiteCafe.OnEndSession = handler
    
Parameters
    endsessionBoolean value that indicates whether WM_ENDSESSION has been received.
    logoffBoolean value that indicates whether the user logged off.
Remarks
    The object that caused the event can be referenced in the event function using "this".
Examples
    The following example displays alert windows when a session ends.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteCafe.OnEndSession = OnEndSession;
    function OnEndSession(endsession, logoff)
    {
       alert("End of session: " + endsession);
       alert("Logoff: " + logoff);
    }
    </SCRIPT>
    

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

Back to topBack to top

© 1997-2010 PROVISIO - Aventura, USA & Muenster, Germany - SiteKiosk DevTeam