How to maintain logged in status with web server in an iPhone app?
问题 Simply, I would like to have an iPhone app that logs in to a web server with inputted username and password values and then maintains this login, so that the user can POST data to the server. Is this just an issue of using cookies? If so, how do you perform a check to verify the user is logged in? Thanks. 回答1: Isn't this a matter of how your server ensures the validity and longevity of logins? A server could be very picky and not allow a login to continue if it looks like it has been inactive