how to redirect from one website to another website user home page after logging in?
<p>I have 2 websites A &amp; B. Every user has same login password for both websites A &amp; B.</p>

<p>Now I want some specific users to land into(redirect to) B website's user home page after they login into the A website.</p>

<p>I dont want them to open the B website's login page separately for logging in.</p>

<p>If that specific user has logged in A website then he will be redirected to B website's user home page without doin login on B website. Can anybody help me out how to achieve this ?</p>

<p>EDIT - is there any way where i can post the login id password of user from A website's login page to B website's login page and then it fires the login button to redirect the user to B website's user home page in one go ? </p>

<p>Also, if i want to login into some external website for eg. like Gmail through my portal. Is there any way that the user logs in to my website and gets redirected to his Gmail home page ?</p>