Notify server that client system shut down -


i have situation need know client system has shut down manually or due power failure (irrespective of same lan or wide network).

i need know after logging in application (web), client forget logout , shut down system manually or due power failure.

i'm storing logged in users status in hashmap not in db , removing when clicking logout button....

if system got shut down without logging out not removing hashmap. there event listener in java catch client shut down status?

how can achieve scenario, possible?

i'm using vaadin 7.4.3 framework web application.

add session destroy listener web application , remove user there. session destroy listener called when session expires. should implement logout button way invalidates session place need remove users session destroy listener.


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -