Hey everyone.
I have problems working with Cookies on the Android app im working on.
thing is i used WebRequest and WebResponse in order to send requests and get responses to my targeted server.
The first of all requests, is Authentication.
I send username and password, and i get a user token, AND, in order to stay signed in, i have to fetch a Cookie specifically named (Type “SessionID”), and use its value for further requests.
WebRequest and WebResponse classes, as far as i searched, does not support cookies. HttpWebRequest and HttpWebResponse but, does support cookies.
Porblem is that System.HttpWebRequest and System.HttpWebResponse are not under .Net 2.0, therefor, i cannot use them on Android devices.
what are suggestions ? is there any way around it ?