[android-developers] AndroidHttpClient retry POST with PHPSESSID
I'm working with AndroidHttpClient to send some request, Server always use PHPSESSID so I facing this:
- GET something
- 401 here is the cookie
- GET something
- OK
second get is resend automaticaly by AndroidHttpClient
- POST data
- 401 here is the cookie
On this case AndroidHttpClient doesn't resent the POST request with the cookie sent by the server.
On my constructur I have
mHttpContext.setAttribute(ClientContext.COOKIE_STORE, new BasicCookieStore());
Any idea if it's possible to send POST request automatically with the cookie as it's done with GET?
-- You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home