Thanks Bashar. This will be used in case of DMZ.
We are trying to Create a Link in companys portal
eg We are company ABC and we have our Internal Portal were we are creating a link called iReceivables
-- You have a customer page in the portal where you have customer Number with you ..
-- now as soon as you hit iReceivables , use the Portal user details and Bypass login for ERP, only for vaild erp users
-- Then use portal customer number and display iReceivables Home page with Account Details page or Account Summary Page .
Mean user can access thier iRec accounts directly from Portal link without signing into ERP again ..
So any sample code/Logic to redirect the page to erp , then bypass login, then open account summary page in irec..
I do no have any sample code i but i know that You can do it with customizing loginpage. you will verify usename password and create a session.
But this is not supported solution.