Home > Back-end >  How to simulate can take after login access to the remote server?
How to simulate can take after login access to the remote server?

Time:09-19

My demand is
In my WEB project, click a button or link.
In a new window, simulation of the target site login process, and to access the target web site home page address.

Because the target site home page address is certainly need authentication.

I now use is
Open a new page, use $. Post method to submit the target site login address, after the success, the window. The location=goal homepage address
The scheme is the premise of target sites allow cross-domain access.
But at the end of the visit to the home page address is because there is no permission to automatically jump to login.

Can you tell me whether you have improved the scheme.
Why post access login address, and then visit the home page address, and not become to the target site at the same time of the visit?

Or you have other feasible scheme.
  • Related