HttpClient not storing cookies on galaxy s2

一笑奈何 提交于 2019-12-01 13:12:57

I had a similar problem. The problem was the fact that my phone was causing incorrect date so that all cookies were empty !!!

After many tries i found that the BasicCookieStore was not adding any cookie, because all cookies were expired for an unknown reason (and only on S2). I had to create my own implementation of CookieStore which ignore the expiration date check. This is a temporary fix, i'm still digging to find a more secure and clean way to solve this.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!