How do I restrict to the same user's double_login?

Discussion in 'ASP .Net' started by Lawrance, Nov 30, 2003.

  1. Lawrance

    Lawrance Guest

    DearAll:

    How do I restrict to the same user's double_login?
    Is there any way to solve this problem under "user closed browser" or
    "computer crash" condition ?


    Best Regards,
    Lawrance Chang
     
    Lawrance, Nov 30, 2003
    #1
    1. Advertising

  2. Hi,

    You can use a database field or a cookie for check whether the login is active or not. If it is don't let the second user login. Well, cookie is a viable option of take care of issues like user closed browser or computer crash. Make a cookies which expires when the session of that user ends. If you don't define its expirery time and date, by default it would expire when the user session ends.

    Hope this helps

    Bhaskardeep Khaund
     
    Bhaskardeep Khaund, Nov 30, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Prasad
    Replies:
    1
    Views:
    632
    Kelly Leahy
    Jan 16, 2004
  2. Paras Wadehra
    Replies:
    1
    Views:
    1,800
    =?Utf-8?B?U2F1cmFiaCBOYW5kdQ==?=
    Aug 15, 2004
  3. Jaydeep
    Replies:
    3
    Views:
    1,057
    vedcyrus
    Jun 30, 2006
  4. jonesy
    Replies:
    0
    Views:
    557
    jonesy
    Oct 26, 2006
  5. Replies:
    0
    Views:
    333
Loading...

Share This Page