开发者

App communication to iOS safari via cookies or whatever?

Am new to iphone dev. I want authenticate a user before he goes to real portal through safari. I heard that we can not access safari;s cookies space to add a cookie... this is not working as well, may be can not run javascript... url in safa开发者_JAVA百科ri

Setting a cookie in an iPhone App

any workaround..

thanks us


Why don't you use a PHP script, create a session that will timeout in idk 2 minutes? and use that to authenticate


If you control the website's protocol, you could pass information from an app to Safari by embedding it in the URL that the app uses to launch Safari, and have the site pass it back to Safari.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜