Answer the question
In order to leave comments, you need to log in
How to implement authorization in Phonegap application?
It is necessary to implement authorization (login/password) to access the Personal Account section in the Phonegap application.
If I understand correctly, the COOKIE mechanism does not work in PhoneGap applications ? LocalStorage is often used in its place .
Therefore, I think to implement this approach:
Answer the question
In order to leave comments, you need to log in
I answer myself, which is not reasonable, of course:
1. PhoneGap applications do not support COOKIE
2. Without COOKIE support, the browser has nowhere to store the session_id, so binding to a PHP session will not work by default as I described.
It remains to think that with each AJAX request, for example, this same session_id must be passed
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question