Avoid multiple login using the same user name and password
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/2178604/preventing-multiple-browser-sessions-on-the-same-server-session">Preventing multiple browser sessions on the same server session</a>  </p>
</blockquote>



<p>I am developing an application that needs to prevent multiple login using the same user name and password.</p>

<p>If it happens on the same machine then obviously we need to do something with the user session, but it should also prevent if they are login on different machines using the same user name and password.</p>

<p>We have to keep following things in mind:</p>

<p>If user close the browser without logout.
If session time out.
I would appreciate any help on this.</p>
