Print Page | Close Window

Prevent simultaneous logins

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=731
Printed Date: 29 March 2026 at 8:32am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Prevent simultaneous logins
Posted By: Arne
Subject: Prevent simultaneous logins
Date Posted: 04 March 2003 at 2:53pm

Hi,

I would like to have (or build) a login script I could use to redirect members to a Web Based Training after succesfully login.
But can somebody tell me how I can prevent members sharing passwords/logins and avoid simultaneous logins.

I've been thinking about loging the IP-address in the DB and remove it after a sessionvariable has timed out. But I don't know this is the best way. In the WBT people need time to do the course without having to login time after time...
I also thought it should be possible using the global.asa...

I hope somebody can give me some help here to get started...

Thanks!

Arne.




Replies:
Posted By: Scott07
Date Posted: 05 March 2003 at 9:48am
you could add a 1 or a 0 to to the db so when they login it sets this field to 1 and on the the login page have if whatever = 1 then response.write("your allreadly loged in you wally") (or something like that) else response.redirect("someotherpage.asp")


Posted By: michael
Date Posted: 05 March 2003 at 1:51pm
Well if you are concerned with people sharing passwords I would create a table to associate IP addresses with username. if a user logs in with a certain amount of different ip addresses in a given time frame block the user. Maybe you should not take the whole IP as dial up users might be entering with different ip's over the day thus they all should be in the same class.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net