I implement the request to the server that sets the PHPSESID in the cookie, I do it like this:
response = httpClient.execute(httpPost, responseHandler); List<Cookie> cookiesReq = httpClient.getCookieStore().getCookies(); if (!cookiesReq.isEmpty()) { Log.d(TAG + " : test cookie", url); String cookieStr = ""; for (Cookie cookie : cookiesReq) { cookieStr += " " + cookie.getName() + "=" + cookie.getValue() + ";"; Log.d(TAG, cookieStr); } if (!cookieStr.equals("")) { setCookiesPreference(cookieStr); } }
Those. I need to manually handle each request manually, is there a way to do it like in a browser, they were installed without my supervision?