1
I am developing a mobile application with intel XDK I have to do a login
which will be validated by the php file that contains all validations and ultimately stores in session
the values I need user
do not know and how can I redeem these values to list on the next page when the login
was successfully carried out.
if possible, I would like to know the best solution and a basis for how it can be done.
Do with AJAX, return make your file
php
return the data fromuser
who are in session, make an ajax request and receive this return.– Erlon Charles
Yes but this session as it will be stored and on the mobile I still do not understand very well
– César Sousa
Your file
PHP
you will normally do the session control, the ajax makes identical requisitions to those of aform
, but no need to reload the page.– Erlon Charles
and make another PHP file with user data and return a json with the data to show right ?
– César Sousa
Is one of the solutions.
– Erlon Charles
But I can get it from the same file where I declare Session if yes I could answer a simple example of how it would look
– César Sousa
Observe the answer and see if it meets your need
– Erlon Charles