Hi all,

I am developing an android application and I try to login users from my 
server. In the login activity, I use DefaultHttpClient to get the session 
cookie. That works well. Then I sync the cookie using the 
CookieSyncManager. Again that works well. 
My main activity is a webview loaded from my server. The server uses the 
session cookie to give a session. 
I get a session on the emulator. It works as expected. The cookie and the 
session is there. I use javascript to alert the cookie on the server page.
When my app is on a real device, i did not get a session on the server. The 
cookie is alerted when the page is loaded from the server but no session.

I have no idea about this problem. I tried to different devices on 4.0.4 
ICS. None works.

If someone had the same problem and found a solution, I would be very happy 
to get some help.
Thanks.

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to