Android using custom cookie for http post and get request

view story

http://stackoverflow.com – I have sucessfully post a cookie along with my HTTP GET and POST request.... But now I would like to use a custom cookie instead.... Can anybody help? THANKS!! This works fine: HttpGet request = new HttpGet(// your URL address here); CookieStore cookies = new BasicCookieStore(); HttpContext mHttpContext = new BasicHttpContext(); mHttpContext.setAttribute(ClientContext.COOKIE_STORE, cookies); httpResponse = httpclient.execute(request, mHttpContext); result = EntityUtils.toString(httpResponse.getEntity()); But with the custom cookie, php cannot read it.... // create a custom cookie with my (HowTos)