title: Auto logout on disconnect
body: <p>Is there any way to clear the ASP.NET session when the system looses its connection? I guess it could be implemented using JavaScript can anyone tell me how?</p>
  
  <p>Page must be automatically redirect to logout.aspx after system gets connected to internet again.</p>
  
  <p>For more clarity, chat scripts shows online and offline notification. It means for example when his Gmail page is ON his contacts can see him status as green. When his page is OFF his contacts see it OFF. How this is implemented?</p>