title: PHP-destroy-session-on-close-of-main-window
body: <p>How to destroy the session on closing the browser
  When browser window is closed, session should be terminated. Right now, if I close the window and type the application url, it is allowing me to access application.</p>