I have created a registration page and now would like to take inputs on like User Name and Password and create session for that user. Also would like to maintain this session for some time period. Also add Logout link on the page after successfull login.
Please share with me some code or links so I can achieve it.
I searched for the same, I got some reference to implement this by using Shared Preference.