Answer the question
In order to leave comments, you need to log in
Sessions on a web service for an Android application, are they needed?
Help me figure it out. I'm new to this business. I have a web service that saves user registration data and their messages (service order, text) in the database. An android application should be able to register a user, log in and send a message to the web service (order for the user). Do I need to create sessions...authorization token....etc?
Answer the question
In order to leave comments, you need to log in
Not sure if sessions are needed.
And the token is needed, after logging in on the android, the token is followed by the server api.
Read about RESTful API
As one pavel rightly said , you don’t need sessions, just sign requests with a token and most importantly, don’t bother and don’t be afraid of tricky names in bourgeois, everything is actually very simple and the simpler and more logical the client will work with the server, the better)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question