?
Solved

limit concurrent logins per user

Posted on 2003-02-20
4
Medium Priority
?
667 Views
Last Modified: 2008-03-10
hi would like to knkow if there is any way of limiting the number of concurrent logins( actually onli care to limit it to 1) by a single user other than writing a componet by myself. be it settings i can change .dll that i can use of downloads i can try.
0
Comment
Question by:piangu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 10

Accepted Solution

by:
AndresM earned 100 total points
ID: 7986831
IIS by itself has a property per site, in the tab web site, you could configure the maximum number of connections.
Don't know if that what you are looking for, but I hope it helps.
0
 
LVL 2

Assisted Solution

by:rbagdonas
rbagdonas earned 100 total points
ID: 8004684
IIS cannot limit the number of connection for a particular user.  Since that user is stored in your DB.  What you can do is extend your tables to have the following fields:

Existing fields:

UserID
Username
Password

Extend with:

SessionID (set this to a GUID when they login and clear it when they logout)

Then when another user logs in, it will clear out the existing sessionID.  If you check for that sessionID on each page and redirect to the login page when the two do not match you have effectively limited it to one user on session.

R
0

Featured Post

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today I came across an interesting issue that had me pulling my hair out.  I was troubleshooting a new internal web site which uses integrated security instead of anonymous.  When browsing the site from my laptop, I was able to access it with no iss…
First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) (http://technet.microsoft.com/en-us/library/cc758834(WS.10).aspx) is a much better solution when you need to p…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question