tracking users

Results 1 to 2 of 2

Thread: tracking users

  1. #1
    Join Date
    Dec 1969

    Default tracking users

    I have a web site that provides multimedia to customers. What I would like to do is prevent someone from sharing their username and password and having them log in simultaneously. I know there is no way of preventing them from signing n at different times, but I would like to stop the concurrent log-ins of the same user name and password. Any suggestion would be greatly appreciated.

  2. #2
    Join Date
    Dec 1969

    Default RE: tracking users

    Log their IP and Session ID when they log in, into your database.<BR><BR>When they request any page, see if their IP and session ID match the database values. If they don&#039;t, log them out.<BR><BR>That means that if user1 logs in with "abc/abc", and then user2 logs in with "abc/abc", when user1 tries to request anything again, they&#039;ll be kicked out.<BR><BR>Doesn&#039;t stop them logging in, but it makes it really hard to use the username and password successfully, and it&#039;ll stop people doing it.<BR><BR>Craig.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts