How can i save login and passord to pass off line mode.
How can i save login and passord to pass off line mode.
Hello! Sorry, not sure I understand. Could you explain in more details what are you going to do?
Excuse me, my English is so bad that neither google saves. I'll rephrase the question. I get to work with some of the local database and synchronize this with the database of the cloud.
When I am local can perform user validation. I know that the first time will have to be connected, but not after.
Thank you,
Hello! It depends on purpose you need to login.
1) If you need to login just to get an access to another pages you can store login and password into localStorage.
2) if you need to login to get DB sessionToken (if you're going to change anything in DB) - then you would need to login online as sessionToken might expire.