Isn't the point of cookies that all this sort of work is done for you?
If not, then perhaps you should consider storing (and accessing) the
data in an alternative way.
On 10/11/2011 10:46 PM, Shruthi Varma wrote:
Hi All,
In my application, I get all the cookies from the post requests with
the HttClient.getCookieStore method.
I want to save these cookies so the next time the app is started, the
user don't have to log in.
I don't know how to save the cookies in an application.
Because in the shared preferences, only primitive types (strings,
integers, boolean values) can be stored.
If I store the cookie value in the form of a string. I don't know how
to set it to HttClient.setCookieStore(CookieStore); when the
aplication starts again
Please help me.
Thanks and Regards,
Shruthi.
--
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en