9
I am implementing a login feature in Android.
Does android have anything like sessions or cookies? How should I 'remember' that the user is loged in? Obviously I don't want to ask for the password every time my application is used!
Should I hash the password before sending it to the server? I have a table in my database with a user and password column. When I want to check the login, should I send the password hashed to the server like
login.php?u=sled&p=34819d7beeabb9260a5c854bc85b3e44, or just plain text likelogin.php?u=sled&p=mypasswordand hash it on the server before I perform the authentication?