Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

How to manage session tokens among different android/ios/windows client apps with server side php and mysql ?

user-image
Question ajoutée par Sibi T Mathew , Senior Web Developer , Kemuri technology
Date de publication: 2013/11/16
Muhammad Javed Iqbal
par Muhammad Javed Iqbal , Lead Flutter Developer (Remote/Contract) , eezly Technologies PVT ltd

You can manage easily tokens by doing following steps:-

1) When Login, Assign a token to that user from server by sending this token with user details to the client app.

2) Save this token in the application preferences.

3) Use this token whenever calling a web services from the server.

4) Server will check whether this is a valid token, If not then ask application/client side that token is invalid and get new one.

5) Then to get new token, client app will get new token from the server either by calling a web services OR by seamless login.

This is all, how we can manage tokens...

Clodelio Delfino
par Clodelio Delfino , Managing Consultant , Startup Company

Web Service using JSON, we had an application that runs in IOS, Android and Typical Web App that each of those platform communicate using web service where tokens via JSON data are pass from one to the other.

More Questions Like This

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?