signalpoint / DrupalGap

An application development kit for Drupal websites.
https://www.drupalgap.org
GNU General Public License v2.0
235 stars 186 forks source link

You cannot quit if a session expires #4

Open signalpoint opened 12 years ago

signalpoint commented 12 years ago

Reported by: http://drupal.org/user/634952 (zhongguo999999)

You cannot quit (logout) if a session expires.

Reproduce the Bug:

  1. I manually deleted the session in the sessions table by openning phpmyadmin;
  2. Then I click the logout button on my android phone app;
  3. I cannot quit. You always receive several errors like this, "User is not logged in." or "Not Acceptable: User is not logged in." etc.
scotthooker commented 11 years ago

Equally if I manually delete my session (which I was testing as I haven't made my logout page yet!) then drupalgap still things I'm logged in.