How to prevent double logins

  • Thread starter Thread starter Wagner
  • Start date Start date
W

Wagner

Hi,

I would like to prevent users to login more than one time with single
user/password to my .NET web application at the same time.
I managed to achieve this by writing combination of last access time and
userid to application and session object but this solution is not stable
enough, because my ISP's web server is doing application pool recycling
frequently.

Any help or hint appreciated.
 
Hi,

you can try to write this information to a database. Either a real database
(Sql Server, etc.) or a flat file format database.

Regards,
Michael
 
Back
Top