android - Session time-out in webservices -


i developing restful webservice using eclipse , android application. user logs in using username , password on android application checked against database @ server side(using web service).

now, want maintain session user remain logged in, is, user not have log in again , again whenever re-opens application.

how it? searched on net not find accurate solution. kindly appropriate solution. ask if more information required.

use shared preferences save session data . there tutorials : http://www.androidhive.info/2012/08/android-session-management-using-shared-preferences/

http://androidexample.com/android_session_management_using_sharedpreferences_-_android_example/index.php?view=article_discription&aid=127


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -