SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    Join Date
    Jun 2000
    Posts
    165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    PHP authentification and one login only

    Hello,

    Does anyone know if a PHP class has been written already that offers all the advantages of the PHP library authentification class, and in addition prevents a user (member) from logging into their account more than once, at any one time?

    Thank you...

    Regards,

    Jason

  2. #2
    SitePoint Guru
    Join Date
    Aug 2001
    Location
    Amsterdam
    Posts
    788
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Hmmm maybe here..

    I think you can make an security system from this article..

    http://www.webmasterbase.com/article/319/119

    Then you only have to find a way to block users from entering more then once.. I know you can just do it by adding a field in your table saying in or out and if the value is in then block more inlogs.. Both the risk with this is that when your user doesn't log out then he or she can't get in so you probably have to work with time stamps and say unless the user logs off or doesn't do an action on the site for X minutes the user can't logon a second time..

    I just let my users log on more often ... it's easier :o)

    Good luck,

    Peanuts
    the neigbours (free) WIFI makes it just a little more fun


Bookmarks

Posting Permissions

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