title: Identifying Between Refresh And Close Browser Actions
body: <p>When we refresh the page (F5, or icon in browser), it will first
  trigger ONUNLOAD event. When we close the browser (X on right top icon),It will
  trigger ONUNLOAD event.
  Now when ONUNLOAD event is triggered, there is no way to distinguish between refresh the page or close the browser. 
   If you have any solution then give me.</p>