Logout
When the server logs out your session, it will trigger this event. By registering for this event, you can monitor the state of your session.
socket.on('logout', function () {
console.info("interactive socket logged out!");
});
Note: Here you will not get any data object from server. This event it self notify that session has been closed by server.