开发者

How to continue session from iPhone App to a Mobile Website?

How does continue session from iPhone App to a Mobile Website Works?

For example, Facebook App, some of its features will direct to an internal browser.

Will you still use that same session or there is a different session key for that Mobile Website. Basically I don't want to login again when I will be redirected to My 开发者_开发技巧application's Internal Browser


Facebook uses a technique called OAuth2 to authorize other applications with the Facebook service, you can check out how to use OAuth2 for the iPhone here. Basically, you send your site user credentials (username and password) and get an access token back. Then, you can use that token within the app to find out information about the user, do actions by the user, etc.. Finally, if you need to access the actual website of your application, the same access token should allow you to sign into the website without having to re-enter the username and password.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜