Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Prevent simultaneous logins
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Prevent simultaneous logins

 Post Reply Post Reply
Author
Arne View Drop Down
Newbie
Newbie


Joined: 21 January 2002
Location: Netherlands
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Arne Quote  Post ReplyReply Direct Link To This Post Topic: Prevent simultaneous logins
    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.



Edited by Arne
Back to Top
Scott07 View Drop Down
Groupie
Groupie


Joined: 04 July 2002
Location: United Kingdom
Status: Offline
Points: 43
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scott07 Quote  Post ReplyReply Direct Link To This Post 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")
Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.