I'm trying to make an Android application with two kinds of users, with a login and registration form, performing functions such as GPS tracking, Google Maps, the application communicates with a server in PHP and a MySQL database.
Now the question is, how do I manage sessions? I have to manage it in PHP and also with the shared preferences in Android? Or just handle them only with the shared preferences or only in PHP?