How to catch Session expired timestamp

Hi all,

      I faced problem with session time out.actually am saving the login timestamp in database when ever user is loggin, vaadin login button action is performed in login form.similarlly the logout button is clicked catch that timestamp and store it into database. But the thing is when session time is expired aor browser suddenly closing i want to store the timestamp into database logout please resolve my problem.

Thank you,


You’ll need to use an HttpSessionListener. I posted an example of one
in this thread