We have decided to use Web2py Framework to develop an Android app. As a 
part of the app, we would like to know the users who have logged in.

My problem is that I can easily accomplish it ( auth.user_id ) though 
browser. However, when used with Andriod App, auth.user_id returns NONE. 

a) Because it works fine on Browser, the auth table is populated correctly. 
So, the AUTH settings are fine.

b) The session ID is okay ( though the IP address is not populated 
correctly ). 

[Thu Jul 11 19:40:15 2013] [error] in Json to g [Thu Jul 11 19:40:15 2013] 
[error] auth.user_id = None [Thu Jul 11 19:40:15 2013] [error] 
response.session_id = None:93a38-4854-441f-a8c8-bcce624b1aff

c) However, as seen above, the user_id returns null. 

d) The "events" table is also empty.

Can anyone please tell me how to debug this issue? 

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to