Access webpage from another app

Hi all,

I have tow apps, and i make one of them for styling and login ,and other for portal.
i want to redirect the login page from the first app to the portal page from the second page?

how can i do that ?

Make your login method hookable. Write redirect code in your portal app via hook.