【发布时间】:2017-01-01 19:00:17
【问题描述】:
让我先解释一下场景,
假设有一个应用程序,其中有一个内容,如果您单击该内容,它将触发一个 URL(如http://some_host.com?param=val&url=http%3A%2F%2Fsearch.yahoo.com%20)并在 webview 中打开一个雅虎页面。当通过 webview 触发 URL 时,请求中没有设置 cookie。
如果我通过 chrome 触发相同的 URL,我可以看到请求中设置的 cookie。我怎样才能在 webview 中达到同样的效果。请提供一些启示。
非常感谢任何帮助。
【问题讨论】:
标签: android cookies mobile webview