OnEndSession Event
Fires when a session ends.
Syntax
SiteCafe.OnEndSession = handler
|
Parameters
endsession |
Boolean value that indicates whether WM_ENDSESSION has been received. |
logoff |
Boolean 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 top