Restrict wordpress/aMember to one session per user

Discussion in 'Setting-up protection' started by sc0tsman, Aug 16, 2012.

  1. sc0tsman

    sc0tsman Member

    Joined:
    Nov 25, 2009
    Messages:
    119
    I run a premium site and I feel that with the increasing use of mobile devices amember account sharing is virtually defunct now for my needs.

    Would it be possible to have a plugin or script to allow only one user login at a time?

    User 1 logins and if his friend logs in with user1's details this would in effect kick out the first session giving a message only one login at a time permitted.

    Is this possible in either aMember or wordpress?
  2. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    Seems you would hook into the account sharing function and expire the session from there. I think there will still be some limited access the expired user may still have while their cookies remain on their system.
  3. sc0tsman

    sc0tsman Member

    Joined:
    Nov 25, 2009
    Messages:
    119
    Where would I do that skippy as I cannot see expire the session in aMember Pro Configuration : Advanced

    3.1.9PRO
  4. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    This functionality does not exist today. You would need to modify aMember or develop a plugin.
  5. sc0tsman

    sc0tsman Member

    Joined:
    Nov 25, 2009
    Messages:
    119
    Thanks skippy, looks like I am back to square one :(
  6. irvingquant

    irvingquant New Member

    Joined:
    Aug 8, 2012
    Messages:
    2
    Has this been added in the latest version ?
  7. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    No. At this time it would be a custom additon/modification.

Share This Page