My application connects to website which requires username and password. 
After POST is done http GET cannot access next page after login.
After searching for solution I cam e to conclusion I need to send cookie 
with http POST.
Tried this 

DefaultHttpClient mHttpClient = new DefaultHttpClient();
BasicHttpContext mHttpContext = new BasicHttpContext();
CookieStore mCookieStore      = new BasicCookieStore();        
mHttpContext.setAttribute(ClientContext.COOKIE_STORE, mCookieStore);

HttpResponse response = mHttpClient.execute(mRequest, mHttpContext);

But it doesnt work.
Other examples shows usage of
httpclient.getCookieStore().getCookies();

My problem is there is no method getCookieStore in http client.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to