My app is working great on the iphone and OSX simulator. It successfully connects, logs in, and retrieves db data back from my php server.
However, the same code on Android has a serious issue. It appears the server is assigning a SESSION ID to all connections and remembering the IP/Session of the caller for iphone/OSX, but it is NOT remembering the session created from my Android phone.
Essentially, the login call (name, password) works properly on Android… But the next call (to get the USER ID needed for subsequent calls, which is done through network.request) is not recognized as from the same session by the server, and the USER ID requested comes back as null (Android only - works fine on iOS and OSX).
I checked my relatively new phones browser settings, and cookies are enabled in the default browser. There doesn’t appear to be any other settings on the device to affect cookies/sessions.
OK, so I messed around with the request headers and body a little, but haven’t had much luck…
Has anyone else solved this issue? Is there a way to see/access the headers returned by the server for network.request calls? (maybe I can pass the cookie info around manually?) [import]uid: 79933 topic_id: 25630 reply_id: 325630[/import]
[import]uid: 32256 topic_id: 25630 reply_id: 104053[/import]