Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 2 of 2

Thread: Restrict same admin user from login concurently

  1. #1
    mint_teoh is offline Junior Member
    Join Date
    Jul 2009
    Posts
    22

    Default Restrict same admin user from login concurently

    Hi,

    May i know how to restrict a same admin user from login concurrently to the system? In our company we have one admin account shared among all of us, seems that all of us can login to admin site at the same time, using the same account to edit record.

    Thanks.

  2. #2
    George the Great is offline Senior Member
    Join Date
    Nov 2006
    Location
    Cleveland, OH
    Posts
    1,792

    Default

    The only way to do this would be to modify the signin logic to see if the customer id is already logged in, and if so then force a logout. There is a "Force Logout" button for admin users when viewing customer accounts in the admin section, so you could use most (if not all) of that logic to force the logout before allowing the new admin user in.

    This however, could cause issues if your admin users continue to force each other out of the admin section (probably not very productive), so instead you may want to provide a message to the admin user trying to log in that the account is currently being used.

    You may also want to create separate admin logins for the different users. It's not difficult, and makes it easier to see who is making what changes via the security log should someone do something they aren't supposed to.
    <a href="http://www.aspdotnetstorefront.com">Shopping Cart Software</a>