The component SESSIONCLOSER is an invisible component that automatically closes the session on server side when being removed.

It is typically placed in the outmost/starting-page of the application - if this one is removed (e.g. user naivgates to some different page or closes the browser), then it's a valid time to send some signal to the server, which then removes the corresponding session.  