to detect when log off button is clicked
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/5674449/to-detect-logoff">To detect logoff</a>  </p>
</blockquote>



<p>Can someone help me if its possible to detect if log off button is clicked. If clicked then i need to store it in a text file.</p>
