We modified the logon page and added Post command silentLoginSAPPortal to post the values (user ID and password) to SAP Portal. This line is inserted just before they call the function to verify user to login to the non-SAP Portal. However, we noticed there it behaves erratically, because LoginToNonSAPPortal doesn't wait for SAP Portal to finish processing and if it takes too long, LoginToNonSAPPortal will kick in and abort the login for SAP Portal.
function submitLogin // called when logon button triggered
Thus, we're using AJAX to obtain a http response from SAP Portal and when it obtains the ticket, then call LoginToNonSAPPortal. However, this only seems to work for IE8 and not other browsers. Is there anyone who can help shine some light on this issue?