I'm developing, and wondering if there's a better model for the way
that I'm handling them.
On my web requests I'm creating a DefaultHttpClient object, and then
using httpClient.getCookieStore().getCookies() to load the list of
cookies retrieved from the server when I initially log in. After
storing all of these cookies in the Application, I then use
httpClient.getCookieStore().addCookie() to add those cookies back into
subsequent requests.
Is there a better method, or is this the only way to handle this?
Thanks,
Joel
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment