locked
Another user logged to same account RRS feed

  • Question

  • User-1029010542 posted

    I created a login page but did not use the login wizard from asp.net , lets say i am logged in with my username and password , and someone else tries to login with my same credentials . I want to display an alert that another user is using my account  any suggestions?

     

    Monday, December 3, 2012 4:18 AM

Answers

  • User1779161005 posted

    You'd need to store something unique about the request upon the first login -- some combination of IP address and User-Agent string. Then upon the next login compare those to the previous and inform the new and old users that the different login has ocurred.

    To alert the first client you might want to look into some sort of push-technology like SignalR, or you can just send them an email.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, December 3, 2012 10:05 AM

All replies