开发者

How to to store http-cookies between sessions

I'm developing an app that logs into a web site. To do this I use the HttpClient object.

I noticed I could get all the cookies from the post requests with the HttClient.getCookieStore method, the question is however how I save these cookies so the next time the app is started, the user don't have to log in.

I should also mention that while the logi开发者_如何转开发n was post request, rest of the site is mostly get requests, does this effect how the cookies are managed at all?

Thanks.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜