简体   繁体   中英

Login script that loads the redirect site in the background

I assume this is a pure javascript problem but since I am unsure I add the php tag onto it as well.

I wonder how you create a login script which is similar to facebooks login script, meaning that the site that actually logs you in is hidden and never displayed to the end user.

I want to make the redirect part hidden to the end user in this model, it should still, however, be processed by the end user's browser:

login site -> redirect -> logged in page

I would this without problems with reposts and repost questions from the browser.

TL;DR How do you create a login script similar to facebook's?

Thanks in advance

Try XMLHtpRequest open method

http://w3.org/TR/XMLHttpRequest/#the-open-method

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM