Reputation: 141
I'm sorry in advance if this question is not good enough to be asked, But i made a lot of search to get the proper approach to store cookies in my android app which makes a lot of web connections.
I found more approaches deals with storing cookies in android app, But i can't determine what is the proper one, Or when i should use one rather than others !!
The most two things i consider about cookies storing are security and long-lived age of cookie.
Upvotes: 2
Views: 976
Reputation: 320
It depends on how you want to use them:
CookieManager is used internaly by WebView. It keeps cookies in
class InMemoryCookieStore implements CookieStore
so it is not persistent.
Upvotes: 2