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. ASP.NET
  4. How to restrict multiple logon to an application?

How to restrict multiple logon to an application?

Scheduled Pinned Locked Moved ASP.NET
helptutorialquestion
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.
  • S Offline
    S Offline
    surender939
    wrote on last edited by
    #1

    pls help me retrict multiple logon to application with single user account. somebody helped me to get through it but need some clarification. To identify browser close event. if user logs in and leave behind.

    J 1 Reply Last reply
    0
    • S surender939

      pls help me retrict multiple logon to application with single user account. somebody helped me to get through it but need some clarification. To identify browser close event. if user logs in and leave behind.

      J Offline
      J Offline
      John Ad
      wrote on last edited by
      #2

      Hi, Add the login userID's to a "loggedin" database table, and check whether the current userID used to login exists in the table. For that to work, however, you need to insure that users are recorded as logged out when they exit the application. You can do that by checking if their sessions have expired, and deleting the userID record from the table. Linking the SessionID to the userID should be enough. I hope this would be helpful.

      John Adams ComponentOne LLC. www.componentone.com

      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