I am using Android's CookieManager to set a cookie in webview which acutally contains user id. I want to make this cookie secure to avoid any impersonation attacks. How can i make it as secure cookie since CookieManager supports only basic string key value pairs.
Also will the cookie be secure if the connection is through HTTPS Protocol ?
See Question&Answers more detail:os