title: asp.net application authentication problem
body: <p>I have an asp web application that is using forms authentication. I am not using asp.net membership provider, I am creating custom authentication. Thus when a user login, I create for him a ticket and a cookie for him and when the user logout I delete them.
  I have a problem when the user clicks the close button on top right of the browser. as you know this is a client side event and there is no server side event that run.<br>
  My question is:<br>
  What should I do when the user clicks the close button in order to remove the ticket and the cookie?</p>