objective c - Session disappear if using automatic anonymous users -


i'm using next code maintain automatic users app:

[parse setapplicationid:@"xxx" clientkey:@"xxx"];  [pfuser enableautomaticuser];  [[pfuser currentuser] saveinbackground]; 

after first launch can see new user created , new session , working ok. after couple of additional launches session automatically disappear dashboard , :

"...invalid session token (code: 209, version: 1.7.0)..." error.

if log-out lost user info, not way me. how use automatic users , new parse sessions?

ps. testing on emulator.


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -