crescue
asked on
How to save user credentials like cookies in any environment like PC, android or apple
Hi experts, I am trying to design an app that works with mobile devices and desktop computers. I am designing the app with bootstrap and php, and everything works fine ON A DESKTOP COMPUTER (saving and retrieving cookies), but IT IS NOT working on mobile devices like android. Any suggestions on how to do it ? I am going to describe the situation
* The user Logs in , I verify the user name and password from a SQL database
* I want to save and retrieve the password in ALL webpages that the user browse into my domain
This is so the user won't be needed to log in every time a page is loaded or reloaded (ex. to enter a NEW work order, the credentials would be already saved)
This system works in a PC mode because of the cookies BUT NOT on Android or apple devices, Any suggestions ? I just want to save credentials like a cookie, but I want to work in any environment (PC, apple or any mobile device connected to the internet)
I am open to suggestion that would work like saving cookies or something similar.
Tnx for your help
* The user Logs in , I verify the user name and password from a SQL database
* I want to save and retrieve the password in ALL webpages that the user browse into my domain
This is so the user won't be needed to log in every time a page is loaded or reloaded (ex. to enter a NEW work order, the credentials would be already saved)
This system works in a PC mode because of the cookies BUT NOT on Android or apple devices, Any suggestions ? I just want to save credentials like a cookie, but I want to work in any environment (PC, apple or any mobile device connected to the internet)
I am open to suggestion that would work like saving cookies or something similar.
Tnx for your help
Cookies are only saved in the browser where they are set. You can not transfer cookies from browser to another or to another machine. It simply won't work. Each browser and machine must do it's own login to get the cookies. There is no sharing.
ASKER
I am not trying to share, what I meant is that, YES you login either on a pc or login again on your mobile device. In the PC it works, but if you login in the mobile device, it wont work
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Tnx