Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

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

user-image
Question added by Sibi T Mathew , Senior Web Developer , Kemuri technology
Date Posted: 2013/11/16
Muhammad Javed Iqbal
by 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
by 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

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.