Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Sistemas Eciton
Courses Plus Student 5,422 PointsUsser Stay Loged in IOS
Hi every body, I was developing an app for ios where the user had to enter an username and a password to log into the account but the problem i have is that the session only las for aboput 20 min, and some users want to stay logged in, but I dont know how to do it tnx.
3 Answers
Stone Preston
42,016 Pointsdid you program it so that the session only lasts for 20 minutes?
Sistemas Eciton
Courses Plus Student 5,422 PointsNop I didn't, thats why i hvent find the way for it to stop doing it, it conect to my sever to check if the user exist the user so it be able to log in, and the afeter a while the user loged in and stoped using the app, this logs them off from it, they are asking me to do somehtin like the facebook app does that you only need to log once and then each time you open the app it keeps you in.
Stone Preston
42,016 Pointswhat are you using for your backend?
Sistemas Eciton
Courses Plus Student 5,422 PointsI'm using cakephp for the web platform and managing the database with php my admin, if you are refering to a mobile back end starter like the one from google, Im not using any.
Aurelian Spodarec
7,369 PointsAurelian Spodarec
7,369 PointsHi Stone Preston, I know that this isnt relevant to the subject but i wanted to ask you a question.
Since i looked at your profile, i think you should be able to make any webiste and apps for mobiles. SO my question is. How long did it take you to learn everything necessary for the Website with Server language and interactivity?
And how long did it take you to learn iOS and make actualy a program that you want ? do you have anything i could look at when you started and what you know now? like websites what kind of website you knew how to do and what website you can do now?
Im really curious because im Learning Websites now and i want to know if i will learn everything before 2015 . Everything i mean like FB where u can login , acc, register ,gallery etc.. and if in a year will i be ableto make apps for phone .
Im asking you because if i can learn everything here , i will not need to go to universiti for programming and i could do something else , useful in college eg business or whatever and i will be able to well u know .. And are my goals real to make a sort of page like FB before 2015 and know how to make a very simple app at the ond of 2016? and all the above : P sorry for my english im still learning