How to prevent double login

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • oyinkan
    New Member
    • Sep 2006
    • 1

    How to prevent double login

    I'm writing a time monitor and I need a way to stop people from clocking in more than once, if you have clocked in already that day I want the system to prevent you from being able to clock in again. Please I need ideas!!!
  • tsgomez
    New Member
    • Feb 2007
    • 12

    #2
    Originally posted by oyinkan
    I'm writing a time monitor and I need a way to stop people from clocking in more than once, if you have clocked in already that day I want the system to prevent you from being able to clock in again. Please I need ideas!!!

    You're probably writing to a db, just insert a flag that's tripped everytime they clock in. Trip it again when they clock out.

    Comment

    Working...