murad
Posts: 0
Joined: Wed Dec 31, 2014 11:49 pm

Login and multitasking

I know that appery DB don't support offline log-in, If the user logged in and didn't logout just click the ipad home button is it going to keep the session in the multi tasking if the app pressed again ?

Ihor Didevych
Posts: 0
Joined: Wed Nov 19, 2014 7:55 pm

Login and multitasking

Hi Murad,

There is no DB that supports offline login, you can't login if you are offline.

Your app is all that you implement in it. If you implemented "saving session" somewhere in the LSV then it will save it. And once you online you can use it in requests. But if you implemented login only then it will login in online mode only.

murad
Posts: 0
Joined: Wed Dec 31, 2014 11:49 pm

Login and multitasking

Thanks Ihor , is there any toutorial for implementing this ? Saving the sessiontoken in local storage

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Login and multitasking

Hello,

You can map session token to storage variable, for example, http://devcenter.appery.io/tutorials/....

Also, the standard local storage API is used to save or get the values:
pre
localStorage.getItem('name');
localStorage.setItem('name', 'value');
/pre
http://devcenter.appery.io/documentat...

Return to “Issues”