Am facing problem with logout.
i have created a web application its running fine,
But the problem here is, if the user Clicks the X button at the top right side of the system. my application must also close.
When the user clicks the X button , it must display a message " are you sure you want to Log out"
Generally Users used to forgot to close the application, here we need to maintain users login and logout history.
So please help me this problem, Closing System X(Close) button. should also close my webapplication and message should be pop up when X button clicks by the user.