one IP one user login

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MATTXtwo
    New Member
    • Sep 2006
    • 83

    one IP one user login

    This is the heavier code...
    I have to make sure no one can log on system more than one login on same ip or at the same time there are two people log on system in different ip but same login id..
    Please help...and some explaination coz i'm almost dummies now
  • theseoworld
    New Member
    • Jul 2008
    • 3

    #2
    You can do it. You have to maintain a log table for people how have login to the system and record there IP address in database.
    Below is the code to track IP address :
    Code:
    request.ServerVariables("REMOTE_ADDR")

    Comment

    • MATTXtwo
      New Member
      • Sep 2006
      • 83

      #3
      Originally posted by theseoworld
      You can do it. You have to maintain a log table for people how have login to the system and record there IP address in database.
      Below is the code to track IP address :
      Code:
      request.ServerVariables("REMOTE_ADDR")
      could you explain it in more detail....
      that request.serverv ariables? to check IP?so do i need to store the ip detail in some cookie?or session?or in database?or etc?

      Comment

      Working...