Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webview 初次載入url沒有同步cookie #10

Open
MagicalWater opened this issue Sep 6, 2018 · 0 comments
Open

webview 初次載入url沒有同步cookie #10

MagicalWater opened this issue Sep 6, 2018 · 0 comments

Comments

@MagicalWater
Copy link

MagicalWater commented Sep 6, 2018

例如 webview 已經登入了
但若把app刷掉重新開啟, 剛開啟時並非登入狀態, 但只要url有跳轉的行為就會變成登入狀態

試了幾次, 發現把以下這段刪除
/** 插入cookies PHP */
if (Domain)[request setValue:[_webView phpCookieStringWithDomain:Domain] forHTTPHeaderField:@"Cookie"];

就會是正常的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant