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
  1. Home
  2. Web Development
  3. How to stop multiple login with same userid and password? - ASP

How to stop multiple login with same userid and password? - ASP

Scheduled Pinned Locked Moved Web Development
comdesigntutorialquestion
2 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.
  • J Offline
    J Offline
    Jaiprakash M Bankolli
    wrote on last edited by
    #1

    Hi, I want to know how can we prevent multiple login in ASP site using same userid and password? Design suggestion are most welcome !!! Thanks,

    Regards, Jaiprakash M Bankolli jaiprakash.bankolli@gmail.com My Blog Suggestions for me Visit:www.OracleQuest.com

    L 1 Reply Last reply
    0
    • J Jaiprakash M Bankolli

      Hi, I want to know how can we prevent multiple login in ASP site using same userid and password? Design suggestion are most welcome !!! Thanks,

      Regards, Jaiprakash M Bankolli jaiprakash.bankolli@gmail.com My Blog Suggestions for me Visit:www.OracleQuest.com

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      My suggestions are as 1. Add new column in Master table, isLoggedIn(Bool Type) 2. Create New table to keep log of user i.e. when logged in/out. When Uses logs in the System, LoggedIn bit should be set to 1. When he logs out set this bit to Zero. Note: The issue with this aproach is that you need to make sure that user always out. Secondly, you can use a hash table to store the information of logged in user. Place this hash table in Application variable. When user tries to login, check if he is already logged in or not. Do add a time stamp of login. Update this timestamp regularly to check whether user is active.

      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