Forums

Determine if User is already logged in?

Last post 09-26-2009, 8:30 PM by markmireles. 0 replies.
Sort Posts: Previous Next

     09-26-2009, 8:30 PM 15366

    Determine if User is already logged in?

    I am trying to figure out how to integrate this into my EE CMS web site. Currently I just have a web page setup with javascript buttons.  What I would like is to have the page determine if the user is logged in and if so do not show the login button.

    I read that FSO uses url parameter called iCode once the user is logged in but since it is opening up a window, that does not show up.  

     

    Here is my button

     

    <input type="button" value="Contribute" onClick="BLOCKED SCRIPTlaunchcontribute();" ID="contribute"/> <br/>

    And the script...

    function launchcontribute(){
    window.open("https://integration.fellowshipone.com/integration/contribution/onlinecontribution.aspx?cCode=[churchcode]", "","width=700,height=700,top=100,left=100,resizeable=1,scrollbars=no,menubar=no,toolbar=no,status=no,location=1")
    }
     

    Thanks

View as RSS news feed in XML