www.webdeveloper.com
Results 1 to 6 of 6

Thread: Multiple Login with same user name

  1. #1
    Join Date
    Mar 2003
    Location
    MY
    Posts
    10

    Multiple Login with same user name

    Is there a way that i can prevent my users using the same user login ID and password to login at the same time with different computer or locations??

    Your reply and script provide are very much appreciate.

    Thank you.

    Dave

  2. #2
    Join Date
    Dec 2002
    Location
    Lake Havasu City, Arizona
    Posts
    527

    Re: Multiple Login with same user name

    Originally posted by daveloh
    Is there a way that i can prevent my users using the same user login ID and password to login at the same time with different computer or locations??

    Your reply and script provide are very much appreciate.

    Thank you.

    Dave
    Don't give out your password is #1.
    If they have it then get a different one.
    Or you can inform your server. That's about all.

  3. #3
    Join Date
    Jan 2003
    Location
    Dundee, Scotland
    Posts
    1,367
    hi,
    are you farmiliar with a server-side technology?
    By using ASP you could build in code that can prevent this from happening. Sorry I can provide samples of this at this moment but if you are going to look at ASP then i would suggest that you post the problem in the ASP forum and i am sure someone can help you.

    Hope this helps
    ----------------------------------

  4. #4
    Join Date
    Dec 2005
    Posts
    3
    In asp 2.0, Is there a way that i can prevent my users using the same user login ID and password to login at the same time with different computer or locations??

  5. #5
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    Dave, yes you can but as Ribeyed indicates, exactly the mechanism depends on what server capabilities you have. If it's only CGI, then it's more difficult than if you have ASP, JSP, PHP type frameworks available.
    "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan

  6. #6
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    In asp 2.0, Is there a way that i can prevent my users using the same user login ID and password to login at the same time with different computer or locations??
    You'll need to use the Application scope to keep a dynamic list of the users that have Sessions.
    "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles