My guess is that the mobile browser does not return cookies. Is that possible?
On Thursday, 11 July 2013 22:19:38 UTC-5, Ravindra Pai wrote: > > 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.