Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. how to restrict the user to login with the same username more than one machine

how to restrict the user to login with the same username more than one machine

Scheduled Pinned Locked Moved ASP.NET
tutorial
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sbua
    wrote on last edited by
    #1

    Hi, I want to restrict the user to login with the same username/password in more than one system in the same ipaddress. Can anyone give me an idea. Thanks

    C 1 Reply Last reply
    0
    • S sbua

      Hi, I want to restrict the user to login with the same username/password in more than one system in the same ipaddress. Can anyone give me an idea. Thanks

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Store in your DB if they are logged in. Of course, you need a timeout mechanism to do this.

      Christian Graus Driven to the arms of OSX by Vista.

      S 1 Reply Last reply
      0
      • C Christian Graus

        Store in your DB if they are logged in. Of course, you need a timeout mechanism to do this.

        Christian Graus Driven to the arms of OSX by Vista.

        S Offline
        S Offline
        sbua
        wrote on last edited by
        #3

        Hi, Could you please tell me how to set the timeout mechanism. Thanks

        C 1 Reply Last reply
        0
        • S sbua

          Hi, Could you please tell me how to set the timeout mechanism. Thanks

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          Put a column in your database, where you store that a user is logged in, with the date and time of their last activity. If a certain amount of time has elapsed since that time and the time they try to log in again, allow it.

          Christian Graus Driven to the arms of OSX by Vista.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups