# Logoff Method The Logoff method closes a session and resets the amount of available credit. Syntax
    SiteKiosk.Plugins("SiteCash").Logoff()
Return Value None. Remarks Deployed SmartCards will be recharged with the remaining credit. Use the TerminateSession instead if remaining credit is not to be returned. Examples The following example closes a session.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.Plugins("SiteCash").Logoff();
    </SCRIPT>
Applies to SiteKiosk v5.0 (and later versions). Back to top