when i try to logout by clicking the logout button...
it work well ...

but some users who do not click the logout button..and just close the browser by clicking the "X" at the top of the browser,

what should i do to set the session to null when using clicking the 'X'