Integration with asp.net application?

Discussion in 'Integration' started by azh_ali, Jun 28, 2010.

  1. azh_ali

    azh_ali New Member

    Joined:
    Jun 28, 2010
    Messages:
    2
    Hi,

    My client uses wordpress for its site and wants to use amember for the members area. We also have another asp.net application hosted on the same server.

    My client wants to have one login (amember) for both of them applicaitons.
    Only thing which Asp.net applications needs to know is the id of currently logged in user.

    Is there a way to do so, e,g may be have a wrapper php page to send session info to asp.net? Any ideas to do this?

    Thx in advance
    Azhar
  2. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
  3. azh_ali

    azh_ali New Member

    Joined:
    Jun 28, 2010
    Messages:
    2
    Thx for the reply.

    Is there a plugin hook for when user enter username and password and logs in?

    What we really want to do is, user comes to site and logs into Wordpress using amember. Then later if user goes to asp.net application, that application request amember for the current logged in user. This needs to happen on every request to asp.net application as main session will be maintained by amember and user can signout anytime.


    Creating a plugin for login will help post the login and session info to asp.net. If the active user sessions are stored in database then asp.net can always check database if they are sill active or not. Is that possible? For this i think, we would need a plugin hook on sign in process. Is there one?
  4. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    Yes, there is a plugin hook called 'after_login' which would allow you to do that.

    You can take a look at my plugin I developed for a third party LMS called eFront to get an idea of how to call it:

    http://amember.com/forum/showthread.php?t=8632

Share This Page