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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top