locked
calling third party url on form POST RRS feed

  • Question

  • User1489758560 posted
    Hi,
     
    We are calling third party website on our website and we used Iframe to load the third party website. everything worked fine. we wanted to logout the session of third party website when we logout from our website but they don't have logout button.  The code below logs out their session. but i am not sure how to call this url (http://AAA.com/91/logout.php?/Base/member/Logout) on my website code to kick their session. whats the best way to achieve this. any suggestions please 
    <script type="text/javascript">
    
        window.onload = function () {
            document.getElementById('btnclick').click();
        }
    </script>
    
    
    <form name="LogoutForm" action="http://localhost/91/index.php?/Base/User/Logout" method="post">   
     <div id="loginsubscribebuttons"><input type="submit" style="visibility:hidden" value="Logout" id="btnclick" class="rebutton">
    </form>

    Monday, March 26, 2018 6:56 PM

All replies