Forum Post: Rollbase Mobile: login problems after logging out

  • Thread starter Thread starter Harrie Kuijper
  • Start date Start date
Status
Not open for further replies.
H

Harrie Kuijper

Guest
Hi all, I'm having a problem with the Mobile app I'm developing. To reproduce, login into the mobile app, press the back button of your phone (or go back in browser, when using mobile preview), and log back in. Now the following 'error' appears: HTTP Status 200: Failed to log in. Attempted to call login() on a Session object that is already logged in. status (from jqXHT) :200 statusText (from jqXHT) :OK responseText (from jqXHT) :{"status_code":"200", "status_txt":"Successfully Logged in ." } It seems that the authentication process was succesful, but somehow throws an error because I'm already logged in. I tried adding an event to the Backbutton event, which calls the LogoutService, but this didn't work out. When clicking the Logout button, everything works fine. Does someone have an idea how to solve this?

Continue reading...
 
Status
Not open for further replies.
Back
Top